Swapped success and filure messages
Some checks failed
ci-tests/jenkins-template/pipeline/head There was a failure building this commit

This commit is contained in:
2022-12-29 12:42:46 +02:00
parent 6b55577a6a
commit fa1c26c978

4
Jenkinsfile vendored
View File

@@ -39,11 +39,11 @@ pipeline {
}
success {
echo "This will run only upon success"
telegramSend(message: '[] Failed to build 😱', chatId: "${env.TELE_CHAT_ID}")
telegramSend(message: '[] Build Is a success', chatId: "${env.TELE_CHAT_ID}")
}
failure {
echo "This will run/show only if failed"
telegramSend(message: '[] Build Is a success', chatId: "${env.TELE_CHAT_ID}")
telegramSend(message: '[] Failed to build 😱', chatId: "${env.TELE_CHAT_ID}")
}
unstable {
echo "This will show only if the was marked as unstable!"