Deploy test
This commit is contained in:
parent
09c4d9e51f
commit
3f27250852
|
@ -26,7 +26,7 @@ try {
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
nodejs('node-lts') {
|
nodejs('node-lts') {
|
||||||
sh "env NODE_ENV= npmasdf install --no-audit"
|
sh "env NODE_ENV= npm install --no-audit"
|
||||||
sh "gulp install"
|
sh "gulp install"
|
||||||
sh "gulp build"
|
sh "gulp build"
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ try {
|
||||||
|
|
||||||
if (env.GIT_COMMITTER_EMAIL) {
|
if (env.GIT_COMMITTER_EMAIL) {
|
||||||
def status
|
def status
|
||||||
def body = "Check status at ${env.BUILD_URL}"
|
def body = "<p>Check status at ${env.BUILD_URL}</p>"
|
||||||
|
|
||||||
if (buildError) {
|
if (buildError) {
|
||||||
status = 'Failed'
|
status = 'Failed'
|
||||||
|
@ -68,7 +68,7 @@ if (env.GIT_COMMITTER_EMAIL) {
|
||||||
status = 'Success'
|
status = 'Success'
|
||||||
}
|
}
|
||||||
|
|
||||||
email(
|
emailext(
|
||||||
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