Update 'JenkinsFile'

add webhook
This commit is contained in:
Roberto Cirillo 2023-11-07 10:40:33 +01:00
parent 1f21f193ce
commit cb8e6dc712
1 changed files with 9 additions and 0 deletions

View File

@ -41,4 +41,13 @@ pipeline {
}
}
}
post {
always {
script {
withCredentials([string(credentialsId: 'is-collector-devnext-hook', variable: 'COLLECTOR_DEVNEXT_WEBHOOK')]) {
sh "curl -v -X POST $COLLECTOR_DEVNEXT_WEBHOOK"
}
}
}
}
}