Skip to content

Commit e630d85

Browse files
committed
[Tests] Send Y-build smoke-test problems to JDT mailing list
1 parent aebf9b6 commit e630d85

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

JenkinsJobs/AutomatedTests/smokeTests.jenkinsfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ pipeline {
6464
}
6565
}
6666
post {
67-
unsuccessful {
68-
emailext subject: "Smoke test for ${buildId} - ${currentBuild.currentResult}",
69-
body: "Smoke tests failed for this build. Please review the logs at ${BUILD_URL} to identify the cause.",
70-
to: "platform-releng-dev@eclipse.org",
71-
from:"genie.releng@eclipse.org"
72-
}
73-
67+
unsuccessful {
68+
emailext subject: "Smoke test for ${buildId} - ${currentBuild.currentResult}",
69+
body: """\
70+
Smoke tests failed for ${buildId}. Please review the logs:
71+
${BUILD_URL}
72+
""".stripIndent(), mimeType: 'text/plain',
73+
to: "${buildId.startsWith('Y') ? 'jdt-dev@eclipse.org' : 'platform-releng-dev@eclipse.org' }",
74+
from:"genie.releng@eclipse.org"
75+
}
7476
}
7577
}
7678

0 commit comments

Comments
 (0)