add .NET 2.0 build to Jenkins build
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/57647e30 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/57647e30 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/57647e30 Branch: refs/heads/feature/RollingFileAppender-NG Commit: 57647e30042c366dc63a38adfc3e1dd612ed9e41 Parents: 1d3afc1 Author: Stefan Bodewig <stefan.bode...@innoq.com> Authored: Sat Jan 20 21:25:58 2018 +0100 Committer: Stefan Bodewig <stefan.bode...@innoq.com> Committed: Sat Jan 20 21:25:58 2018 +0100 ---------------------------------------------------------------------- Jenkinsfile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/57647e30/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index a13b52b..8bc0602 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -76,6 +76,20 @@ pipeline { steps { deleteDir() checkout scm + bat "${NANT_BIN} -t:net-2.0 -buildfile:log4net.build compile-net-2.0" + stash includes: 'bin/**/*.*', name: 'net-2.0-assemblies' + bat "${NANT_BIN} -t:net-2.0 -buildfile:tests/nant.build runtests-net-2.0" + stash includes: 'tests/bin/**/*.nunit.xml', name: 'net-2.0-testresults' + } + } + stage('build net-3.5') { + agent { label 'Windows' } + environment { + NANT_BIN = 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe' + } + steps { + deleteDir() + checkout scm bat "${NANT_BIN} -t:net-3.5 -buildfile:log4net.build compile-net-3.5" stash includes: 'bin/**/*.*', name: 'net-3.5-assemblies' bat "${NANT_BIN} -t:net-3.5 -buildfile:tests/nant.build runtests-net-3.5" @@ -289,4 +303,3 @@ pipeline { } } } -