Repository: maven-surefire Updated Branches: refs/heads/master 75619d62e -> 7866b0ffb
More tweaks Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/7866b0ff Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/7866b0ff Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/7866b0ff Branch: refs/heads/master Commit: 7866b0ffb305aa822b48bcb27916a42d9702ed84 Parents: 75619d6 Author: Stephen Connolly <stephen.alan.conno...@gmail.com> Authored: Sun Mar 12 21:34:19 2017 +0000 Committer: Stephen Connolly <stephen.alan.conno...@gmail.com> Committed: Sun Mar 12 21:34:19 2017 +0000 ---------------------------------------------------------------------- Jenkinsfile | 20 ++++++++++++++++++-- pom.xml | 1 + 2 files changed, 19 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/7866b0ff/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index e72ff99..c7006ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,9 +3,25 @@ pipeline { label env.NIX_LABEL } stages { - stage('Build') { + stage('Unix Build') { + tools { + maven 'Maven 3.3.9' + jdk 'JDK 1.8.0_102' + } + steps { + sh 'mvn -v' + } + } + stage('Windows Build') { + agent { + label env.WIN_LABEL + } + tools { + maven 'Maven 3.3.9 (Windows)' + jdk 'JDK 1.8_121 (Windows Only)' + } steps { - sh 'ls -l' + bat 'mvn -v' } } } http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/7866b0ff/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 3b8ab65..df9d79b 100644 --- a/pom.xml +++ b/pom.xml @@ -391,6 +391,7 @@ </goals> <configuration> <excludes combine.children="append"> + <exclude>Jenkinsfile</exclude> <exclude>README.md</exclude> <exclude>.gitignore</exclude> <exclude>.git/**/*</exclude>