We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 998bc9b commit ad33e1eCopy full SHA for ad33e1e
Jenkinsfile
@@ -130,10 +130,10 @@ pipeline {
130
script{
131
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith("PR"))
132
{
133
- // emailext(to: 'anpu',
134
- // body: "${currentBuild.currentResult}\nJob ${env.JOB_NAME}\t\t build ${env.BUILD_NUMBER}\r\nLink: ${env.BUILD_URL}",
135
- // subject: "[Jenkins][Build ${currentBuild.currentResult}: ${env.JOB_NAME}]",
136
- // mimeType: 'text/html',)
+ emailext(to: 'anpu',
+ body: "${currentBuild.currentResult}\nJob ${env.JOB_NAME}\t\t build ${env.BUILD_NUMBER}\r\nLink: ${env.BUILD_URL}",
+ subject: "[Jenkins][Build ${currentBuild.currentResult}: ${env.JOB_NAME}]",
+ mimeType: 'text/html',)
137
}
138
else
139
0 commit comments