Skip to content

Commit

Permalink
fs
Browse files Browse the repository at this point in the history
  • Loading branch information
KimheangKen committed Nov 1, 2023
1 parent 297d384 commit e5e4880
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,20 @@ pipeline {
}
}
}
// stage('Trigger ManifestUpdate') {
// steps {
// script {
// try {
// build job: 'change-spring-image-tag', parameters: [string(name: 'DOCKERTAG', value: env.BUILD_NUMBER)]
// // sendTelegramMessage("✅ Trigger ManifestUpdate stage succeeded\nVersion: ${BUILD_INFO}\nCommitter: ${COMMITTER}\nBranch: ${BRANCH}")
// } catch (Exception e) {
// currentBuild.result = 'FAILURE'
// sendTelegramMessage("❌ Trigger ManifestUpdate stage failed: ${e.message}\nVersion: ${BUILD_INFO}\nCommitter: ${COMMITTER}\nBranch: ${BRANCH}")
// error("Trigger ManifestUpdate stage failed: ${e.message}")
// }
// }
// }
// }
stage('Trigger ManifestUpdate') {
steps {
script {
try {
build job: 'change-spring-image-tag', parameters: [string(name: 'DOCKERTAG', value: env.BUILD_NUMBER)]
// sendTelegramMessage("✅ Trigger ManifestUpdate stage succeeded\nVersion: ${BUILD_INFO}\nCommitter: ${COMMITTER}\nBranch: ${BRANCH}")
} catch (Exception e) {
currentBuild.result = 'FAILURE'
sendTelegramMessage("❌ Trigger ManifestUpdate stage failed: ${e.message}\nVersion: ${BUILD_INFO}\nCommitter: ${COMMITTER}\nBranch: ${BRANCH}")
error("Trigger ManifestUpdate stage failed: ${e.message}")
}
}
}
}
}

post {
Expand Down

0 comments on commit e5e4880

Please sign in to comment.