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/18 00:01:39 UTC

[logging-log4j-scala] branch master updated: Update pipeline for new environment

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-log4j-scala.git


The following commit(s) were added to refs/heads/master by this push:
     new f4401b8  Update pipeline for new environment
f4401b8 is described below

commit f4401b8399bbbb4e10402b66e37848416e8bfc85
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Fri Jul 17 19:01:27 2020 -0500

    Update pipeline for new environment
---
 Jenkinsfile | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index c9d0812..9876a38 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -49,19 +49,16 @@ pipeline {
             }
             steps {
                 ansiColor('xterm') {
-                    withCredentials([
-                            usernamePassword(
-                                    credentialsId: 'logging-snapshots',
-                                    passwordVariable: 'NEXUS_PASSWORD',
-                                    usernameVariable: 'NEXUS_USERNAME')
-                    ]) {
-                        sh './sbt -batch "+ publish"'
-                    }
+                    sh './sbt -batch "+ publish"'
                 }
             }
             post {
                 failure {
-                    emailext body: "See <${env.BUILD_URL}>", replyTo: 'dev@logging.apache.org', subject: "[Scala] Jenkins build failure (#${env.BUILD_NUMBER})", to: 'notifications@logging.apache.org'
+                    emailext body: '${SCRIPT, template="groovy-html.template"}',
+                        replyTo: 'dev@logging.apache.org',
+                        subject: "[Scala] Jenkins build failure (#${env.BUILD_NUMBER})",
+                        from: 'Mr. Jenkins <je...@ci-builds.apache.org>',
+                        to: 'notifications@logging.apache.org'
                 }
             }
         }