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:02:41 UTC
logging-log4j2 git commit: Make Ubuntu and Windows builds parallel
Repository: logging-log4j2
Updated Branches:
refs/heads/master 259a1c428 -> 39e5d4cb6
Make Ubuntu and Windows builds parallel
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/39e5d4cb
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/39e5d4cb
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/39e5d4cb
Branch: refs/heads/master
Commit: 39e5d4cb6b9c952eb460f348e753f47f9cf85fa5
Parents: 259a1c4
Author: Matt Sicker <bo...@gmail.com>
Authored: Fri Apr 6 21:02:36 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Fri Apr 6 21:02:36 2018 -0500
----------------------------------------------------------------------
Jenkinsfile | 52 ++++++++++++++++++++++++++++------------------------
1 file changed, 28 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/39e5d4cb/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 702e7d5..97552ab 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,31 +19,35 @@
pipeline {
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'
- stash includes: 'target/**', name: 'target'
+ stage('Build') {
+ parallel {
+ stage('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'
+ stash includes: 'target/**', name: 'target'
+ }
+ }
+ }
+ stage('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('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') {