Deploy test
This commit is contained in:
parent
3f27250852
commit
51c6551edc
|
@ -26,7 +26,7 @@ try {
|
|||
}
|
||||
stage ('Build') {
|
||||
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 build"
|
||||
}
|
||||
|
@ -55,7 +55,11 @@ try {
|
|||
}
|
||||
}
|
||||
} catch(e) {
|
||||
buildError = e
|
||||
email(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: Failed",
|
||||
body: e.message
|
||||
)
|
||||
}
|
||||
|
||||
if (env.GIT_COMMITTER_EMAIL) {
|
||||
|
@ -68,7 +72,7 @@ if (env.GIT_COMMITTER_EMAIL) {
|
|||
status = 'Success'
|
||||
}
|
||||
|
||||
emailext(
|
||||
email(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||
body: body
|
||||
|
|
Loading…
Reference in New Issue