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 2018/04/07 02:00:23 UTC

logging-log4j2 git commit: Skip tests in deploy and fix agent syntax error

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 2b3656fe9 -> 259a1c428


Skip tests in deploy and fix agent syntax error


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/259a1c42
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/259a1c42
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/259a1c42

Branch: refs/heads/master
Commit: 259a1c428cd338665506c2a66d0194c6902280be
Parents: 2b3656f
Author: Matt Sicker <bo...@gmail.com>
Authored: Fri Apr 6 21:00:19 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Fri Apr 6 21:00:19 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/259a1c42/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 4cb4a41..702e7d5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,13 +17,16 @@
  */
 
 pipeline {
-    tools {
-        jdk 'JDK 1.8 (latest)'
-        maven 'Maven 3 (latest)'
-    }
+    agent none
     stages {
         stage('Build (Ubuntu)') {
             agent { label 'ubuntu&&!H20' }
+            tools {
+                // https://cwiki.apache.org/confluence/display/INFRA/JDK+Installation+Matrix
+                jdk 'JDK 1.8 (latest)'
+                // https://cwiki.apache.org/confluence/display/INFRA/Maven+Installation+Matrix
+                maven 'Maven 3 (latest)'
+            }
             steps {
                 ansiColor('xterm') {
                     sh 'mvn -t toolchains-jenkins-ubuntu.xml -Djenkins -V install'
@@ -33,16 +36,28 @@ pipeline {
         }
         stage('Build (Windows)') {
             agent { label 'Windows' }
+            tools {
+                // https://cwiki.apache.org/confluence/display/INFRA/JDK+Installation+Matrix
+                jdk 'JDK 1.8 (latest)'
+                // https://cwiki.apache.org/confluence/display/INFRA/Maven+Installation+Matrix
+                maven 'Maven 3 (latest)'
+            }
             steps {
                 bat 'mvn -t toolchains-jenkins-win.xml -Djenkins -V install'
             }
         }
         stage('Deploy') {
             when { branch 'master' }
+            tools {
+                // https://cwiki.apache.org/confluence/display/INFRA/JDK+Installation+Matrix
+                jdk 'JDK 1.8 (latest)'
+                // https://cwiki.apache.org/confluence/display/INFRA/Maven+Installation+Matrix
+                maven 'Maven 3 (latest)'
+            }
             steps {
                 ansiColor('xterm') {
                     unstash 'target'
-                    sh 'mvn -t jenkins-toolchains.xml -Djenkins -V deploy'
+                    sh 'mvn -t jenkins-toolchains.xml -Djenkins -DskipTests -V deploy'
                 }
             }
 //            post {