diff --git a/Jenkinsfile b/Jenkinsfile index d8e3c001d..ad21789cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 = "
Check status at ${env.BUILD_URL}
" + def body = "Check status at ${env.BUILD_URL}" if (buildError) { status = 'Failed' @@ -78,4 +74,3 @@ if (env.GIT_COMMITTER_EMAIL) { body: body ) } -*/ \ No newline at end of file