Deploy test
This commit is contained in:
parent
3f27250852
commit
51c6551edc
|
@ -26,7 +26,7 @@ try {
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
nodejs('node-lts') {
|
nodejs('node-lts') {
|
||||||
sh "env NODE_ENV= npm install --no-audit"
|
sh "env NODE_ENV= npm-123 install --no-audit"
|
||||||
sh "gulp install"
|
sh "gulp install"
|
||||||
sh "gulp build"
|
sh "gulp build"
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,11 @@ try {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
buildError = e
|
email(
|
||||||
|
to: env.GIT_COMMITTER_EMAIL,
|
||||||
|
subject: "Pipeline: Failed",
|
||||||
|
body: e.message
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env.GIT_COMMITTER_EMAIL) {
|
if (env.GIT_COMMITTER_EMAIL) {
|
||||||
|
@ -68,7 +72,7 @@ if (env.GIT_COMMITTER_EMAIL) {
|
||||||
status = 'Success'
|
status = 'Success'
|
||||||
}
|
}
|
||||||
|
|
||||||
emailext(
|
email(
|
||||||
to: env.GIT_COMMITTER_EMAIL,
|
to: env.GIT_COMMITTER_EMAIL,
|
||||||
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||||
body: body
|
body: body
|
||||||
|
|
Loading…
Reference in New Issue