Skip to content

Commit

Permalink
Updated Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
osamamagdy committed Dec 31, 2021
1 parent bd789a8 commit 3ec9900
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pipeline {
sh"""
pwd
"""
git branch: "b;leta", url: "https://[email protected]/CMPLR-Technologies/CMPLR-Technologies.DevOps/_git/CMPLR-Technologies.DevOps"
git branch: "beta", url: "https://[email protected]/CMPLR-Technologies/CMPLR-Technologies.DevOps/_git/CMPLR-Technologies.DevOps"
}
post{
success{
Expand Down Expand Up @@ -51,7 +51,7 @@ pipeline {
}
failure {
echo "======== Docker Compose failed ========="
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png",footer: "deployment execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/926441648605528114/L_GjAOFAUJGwUt0_N9Wu58T0OTR5OksSXvgiZnnWruTfVmuLJpTjDQvB7bDaaBypUxjE"
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png",footer: "deployment execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "WEBHOOK_URL"
}
}
}
Expand All @@ -70,7 +70,7 @@ pipeline {
}
failure {
echo "======== App deployment has failed ========="
discordSend description: "Jenkins Pipeline Build",thumbnail: "https://jenkins.io/images/logos/ninja/256.png" ,footer: "Backend-Configuration execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/926441648605528114/L_GjAOFAUJGwUt0_N9Wu58T0OTR5OksSXvgiZnnWruTfVmuLJpTjDQvB7bDaaBypUxjE"
discordSend description: "Jenkins Pipeline Build",thumbnail: "https://jenkins.io/images/logos/ninja/256.png" ,footer: "Backend-Configuration execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "WEBHOOK_URL"
}
}
}
Expand All @@ -88,7 +88,7 @@ pipeline {
}
failure {
echo "======== Testing has failed ========="
discordSend description: "Jenkins Pipeline Build", footer: "E2E Testing failed",thumbnail: "https://jenkins.io/images/logos/ninja/256.png" ,result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/926441648605528114/L_GjAOFAUJGwUt0_N9Wu58T0OTR5OksSXvgiZnnWruTfVmuLJpTjDQvB7bDaaBypUxjE"
discordSend description: "Jenkins Pipeline Build", footer: "E2E Testing failed",thumbnail: "https://jenkins.io/images/logos/ninja/256.png" ,result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "WEBHOOK_URL"
}
}
}
Expand All @@ -103,11 +103,11 @@ pipeline {
post {
success {
echo "======== Clean up is successful ========="
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png",footer: "Pipeline executed successfully", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/926441648605528114/L_GjAOFAUJGwUt0_N9Wu58T0OTR5OksSXvgiZnnWruTfVmuLJpTjDQvB7bDaaBypUxjE"
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png",footer: "Pipeline executed successfully", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "WEBHOOK_URL"
}
failure {
echo "======== Clean up has failed ========="
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png", footer: "Cleaning disk execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/926441648605528114/L_GjAOFAUJGwUt0_N9Wu58T0OTR5OksSXvgiZnnWruTfVmuLJpTjDQvB7bDaaBypUxjE"
discordSend description: "Jenkins Pipeline Build", thumbnail: "https://jenkins.io/images/logos/ninja/256.png", footer: "Cleaning disk execution failed", result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "WEBHOOK_URL"
}
}
}
Expand Down

0 comments on commit 3ec9900

Please sign in to comment.