Commit fed4dc40 authored by G33tha's avatar G33tha
Browse files

Issue #000 feat: prometheus backup jenkins file

parent aebb49c3
No related merge requests found
Showing with 0 additions and 12 deletions
+0 -12
......@@ -31,20 +31,8 @@ node() {
ansible_playbook_run(values)
}
}
currentBuild.result = 'SUCCESS'
}
catch (err) {
currentBuild.result = 'FAILURE'
slackSend (
channel: "${env.NOTIFY_SLACK_CHANNEL}",
color: 'danger',
message: "Build Failed - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
)
throw err
} finally {
step([$class: 'Mailer',
notifyEveryUnstableBuild: true,
recipients: "${env.NOTIFY_EMAIL_ADDRESS}",
sendToIndividuals: true])
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment