Jenkinsfile: refactored stage names and added build net-4.5
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/679b6e81 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/679b6e81 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/679b6e81 Branch: refs/heads/develop Commit: 679b6e81466d4210708c3b4d130110c31c0de794 Parents: 9d06e4c Author: Dominik Psenner <[email protected]> Authored: Mon Jul 3 11:12:10 2017 +0200 Committer: Dominik Psenner <[email protected]> Committed: Mon Jul 3 11:12:10 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/679b6e81/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index c110a75..8f063d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,17 +31,22 @@ pipeline { NAnt = 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe' } stages { - stage('Checkout') { + stage('checkout') { steps { checkout scm } } - stage('Build net-4.0') { + stage('build net-4.0') { steps { bat "${NAnt} -buildfile:log4net.build compile-net-4.0" } } - stage('Build mono-2.0') { + stage('build net-4.5') { + steps { + bat "${NAnt} -buildfile:log4net.build compile-net-4.5" + } + } + stage('build mono-2.0') { agent { dockerfile { dir 'buildtools/docker/builder-mono-2.0' @@ -52,7 +57,7 @@ pipeline { sh "nant -buildfile:log4net.build compile-mono-2.0" } } - stage('Build mono-3.5') { + stage('build mono-3.5') { agent { dockerfile { dir 'buildtools/docker/builder-mono-3.5' @@ -63,7 +68,7 @@ pipeline { sh "nant -buildfile:log4net.build compile-mono-3.5" } } - stage('Build mono-4.0') { + stage('build mono-4.0') { agent { dockerfile { dir 'buildtools/docker/builder-mono-4.0' @@ -74,17 +79,17 @@ pipeline { sh "nant -buildfile:log4net.build compile-mono-4.0" } } - stage('Test on Windows') { + stage('test on Windows') { steps { bat "${NAnt} -buildfile:tests\\nant.build" } } - stage('Build-Site') { + stage('build site') { steps { bat "${NAnt} -buildfile:log4net.build generate-site" } } - stage('Deploy-Site') { + stage('deploy site') { when { branch 'master' }
