Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kevangel79 authored and gek20 committed Apr 5, 2024
1 parent ad71465 commit 8646579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ pipeline {
success {
script{
if ( env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'devel' ) {
slackSend( message: ":rocket: New version for <https://jenkins.einfra.grnet.gr/job/ARGO/job/$PROJECT_DIR/|$PROJECT_DIR>!")
slackSend( message: ":rocket: New version for <$BUILD_URL|$PROJECT_DIR>:$BRANCH_NAME Job: $JOB_NAME !")
}
}
}
failure {
script{
if ( env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'devel' ) {
slackSend( message: ":rain_cloud: Build Failed for <https://jenkins.einfra.grnet.gr/job/ARGO/job/$PROJECT_DIR/|$PROJECT_DIR>. Branch: $BRANCH_NAME Job: [$JOB_NAME]")
slackSend( message: ":rain_cloud: Build Failed for <$BUILD_URL|$PROJECT_DIR>:$BRANCH_NAME Job: $JOB_NAME")
}
}
}
Expand Down

0 comments on commit 8646579

Please sign in to comment.