Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
fed4dc40
Commit
fed4dc40
authored
5 years ago
by
G33tha
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: prometheus backup jenkins file
parent
aebb49c3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pipelines/backup/prometheus-backup/Jenkinsfile
+0
-12
pipelines/backup/prometheus-backup/Jenkinsfile
with
0 additions
and
12 deletions
+0
-12
pipelines/backup/prometheus-backup/Jenkinsfile
+
0
−
12
View file @
fed4dc40
...
...
@@ -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
])
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets