Deploy notifications when success
This commit is contained in:
parent
28810d834f
commit
4af9e47c8d
|
@ -26,7 +26,7 @@ try {
|
|||
}
|
||||
stage ('Build') {
|
||||
nodejs('node-lts') {
|
||||
sh "env NODE_ENV= npm-123 install --no-audit"
|
||||
sh "env NODE_ENV= npm install --no-audit"
|
||||
sh "gulp install"
|
||||
sh "gulp build"
|
||||
}
|
||||
|
@ -55,16 +55,12 @@ try {
|
|||
}
|
||||
}
|
||||
} catch(e) {
|
||||
email(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: Failed",
|
||||
body: 'Failed'
|
||||
)
|
||||
buildError = e
|
||||
}
|
||||
/*
|
||||
|
||||
if (env.GIT_COMMITTER_EMAIL) {
|
||||
def status
|
||||
def body = "<p>Check status at ${env.BUILD_URL}</p>"
|
||||
def body = "Check status at ${env.BUILD_URL}"
|
||||
|
||||
if (buildError) {
|
||||
status = 'Failed'
|
||||
|
@ -78,4 +74,3 @@ if (env.GIT_COMMITTER_EMAIL) {
|
|||
body: body
|
||||
)
|
||||
}
|
||||
*/
|
Loading…
Reference in New Issue