|
@@ -94,7 +94,7 @@ pipeline {
|
|
|
git commit -m 'Version update'
|
|
|
GIT_SSH_COMMAND='ssh -i ${GIT_SSH_KEY} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' \
|
|
|
git push origin master
|
|
|
- ls"""
|
|
|
+ """
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -112,12 +112,5 @@ pipeline {
|
|
|
to: "${mailto}",
|
|
|
body: "<b>ATTENTION!!!</b> <b><br> Jenkins job failed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
|
|
|
}
|
|
|
- success {
|
|
|
- mail charset: 'UTF-8',
|
|
|
- subject: "Jenkins build SUSCCESS",
|
|
|
- mimeType: 'text/html',
|
|
|
- to: "${mailto}",
|
|
|
- body: "<b>Congradulations!!!</b> <b><br> Jenkins job succefully finished.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
|
|
|
- }
|
|
|
}
|
|
|
}
|