You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/07/17 23:11:39 UTC
[logging-log4j2] branch master updated: Disable/migrate missing
Jenkins plugins
This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new e09ddc3 Disable/migrate missing Jenkins plugins
e09ddc3 is described below
commit e09ddc3d8ec500f30f99f6f44dd52d5dd2438708
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Fri Jul 17 18:10:56 2020 -0500
Disable/migrate missing Jenkins plugins
---
Jenkinsfile | 43 ++++++++++++++++---------------------------
1 file changed, 16 insertions(+), 27 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9a1c0ee..c620b9f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,11 +72,13 @@ pipeline {
// additional warnings generated during build
// TODO: would be nice to be able to include checkstyle, cpd, pmd, and spotbugs,
// but current site build takes too long
+ /*
recordIssues enabledForFailure: true,
sourceCodeEncoding: 'UTF-8',
referenceJobName: 'log4j/master',
tools: [mavenConsole(), errorProne(), java(),
taskScanner(highTags: 'FIXME', normalTags: 'TODO', includePattern: '**/*.java', excludePattern: '*/target/**')]
+ */
}
}
}
@@ -114,48 +116,35 @@ pipeline {
}
post {
fixed {
+ /*
slackSend channel: 'logging',
color: 'good',
message: ":excellent: <${env.JOB_URL}|${env.JOB_NAME}> was fixed in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
- mail to: 'notifications@logging.apache.org',
- from: 'Mr. Jenkins <je...@builds.apache.org>',
+ */
+ emailext to: 'notifications@logging.apache.org',
+ from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
+ replyTo: 'dev@logging.apache.org',
subject: "[CI][SUCCESS] ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
- body: """
-The build for ${env.JOB_NAME} completed successfully and is back to normal.
-
-Build: ${env.BUILD_URL}
-Logs: ${env.BUILD_URL}console
-Changes: ${env.BUILD_URL}changes
-
---
-Mr. Jenkins
-Director of Continuous Integration
-"""
+ body: '${SCRIPT, template="groovy-html.template"}'
}
failure {
+ /*
slackSend channel: 'logging',
color: 'danger',
message: ":doh: <${env.JOB_URL}|${env.JOB_NAME}> failed in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>. <${env.BUILD_URL}testReport/|Tests>."
- mail to: 'notifications@logging.apache.org',
- from: 'Mr. Jenkins <je...@builds.apache.org>',
+ */
+ emailext to: 'notifications@logging.apache.org',
+ from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
+ replyTo: 'dev@logging.apache.org',
subject: "[CI][FAILURE] ${env.JOB_NAME}#${env.BUILD_NUMBER} has potential issues",
- body: """
-There is a build failure in ${env.JOB_NAME}.
-
-Build: ${env.BUILD_URL}
-Logs: ${env.BUILD_URL}console
-Test results: ${env.BUILD_URL}testReport/
-Changes: ${env.BUILD_URL}changes
-
---
-Mr. Jenkins
-Director of Continuous Integration
-"""
+ body: '${SCRIPT, template="groovy-html.template"}'
}
+ /*
unstable {
slackSend channel: 'logging',
color: 'warning',
message: ":disappear: <${env.JOB_URL}|${env.JOB_NAME}> is unstable in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
}
+ */
}
}