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:49:48 UTC
[logging-log4j2] branch master updated: Fix comment syntax errors
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 0f649a5 Fix comment syntax errors
0f649a5 is described below
commit 0f649a5ca9b846c01f811af1c433938554263e02
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Fri Jul 17 18:49:24 2020 -0500
Fix comment syntax errors
---
Jenkinsfile | 40 ++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c620b9f..383d3b2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,13 +72,11 @@ 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/**')]
- */
+// recordIssues enabledForFailure: true,
+// sourceCodeEncoding: 'UTF-8',
+// referenceJobName: 'log4j/master',
+// tools: [mavenConsole(), errorProne(), java(),
+// taskScanner(highTags: 'FIXME', normalTags: 'TODO', includePattern: '**/*.java', excludePattern: '*/target/**')]
}
}
}
@@ -116,11 +114,9 @@ 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}>."
- */
+// slackSend channel: 'logging',
+// color: 'good',
+// message: ":excellent: <${env.JOB_URL}|${env.JOB_NAME}> was fixed in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
emailext to: 'notifications@logging.apache.org',
from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
replyTo: 'dev@logging.apache.org',
@@ -128,23 +124,19 @@ pipeline {
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>."
- */
+// 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>."
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: '${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}>."
- }
- */
+// unstable {
+// slackSend channel: 'logging',
+// color: 'warning',
+// message: ":disappear: <${env.JOB_URL}|${env.JOB_NAME}> is unstable in <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>."
+// }
}
}