diff --git a/Jenkinsfile b/Jenkinsfile index adc4762..6e8b4a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,6 +45,8 @@ pipeline { echo '{"text":"Attention! assisted-ignition-generator branch test failed, see: ' > data.txt echo ${BUILD_URL} >> data.txt echo '"}' >> data.txt + sh '''curl -X POST -H 'Content-type: application/json' --data-binary "@data.txt" https://hooks.slack.com/services/$TOKEN''' + } } }