Jenkinsfile: use nunit command instead of junit

Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/25cae745
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/25cae745
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/25cae745

Branch: refs/heads/feature/RollingFileAppender-NG
Commit: 25cae7453e850c08a142ee31fea6e69717cab80c
Parents: 4d00469
Author: Dominik Psenner <[email protected]>
Authored: Tue Jul 4 19:45:11 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Tue Jul 4 19:45:11 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/25cae745/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index e32afeb..676c974 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -47,7 +47,7 @@ pipeline {
                                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 && exit 0"
-                               archive 'testresults/**/*.xml'
+                               nunit 'testresults/**/*.xml'
                        }
                }
                stage('build net-3.5-cp') {
@@ -61,7 +61,7 @@ pipeline {
                                bat "${NANT_BIN} -t:net-3.5 
-buildfile:log4net.build compile-net-3.5-cp"
                                stash includes: 'bin/**/*.*', name: 
'net-3.5-cp-assemblies'
                                bat "${NANT_BIN} -t:net-3.5 
-buildfile:tests/nant.build runtests-net-3.5-cp && exit 0"
-                               junit 'testresults/**/*.xml'
+                               nunit 'testresults/**/*.xml'
                        }
                }
                stage('build net-4.0') {
@@ -75,7 +75,7 @@ pipeline {
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:log4net.build compile-net-4.0"
                                stash includes: 'bin/**/*.*', name: 
'net-4.0-assemblies'
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:tests/nant.build runtests-net-4.0 && exit 0"
-                               junit 'testresults/**/*.xml'
+                               nunit 'testresults/**/*.xml'
                        }
                }
                stage('build net-4.0-cp') {
@@ -89,7 +89,7 @@ pipeline {
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:log4net.build compile-net-4.0-cp"
                                stash includes: 'bin/**/*.*', name: 
'net-4.0-cp-assemblies'
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:tests/nant.build runtests-net-4.0-cp && exit 0"
-                               junit 'testresults/**/*.xml'
+                               nunit 'testresults/**/*.xml'
                        }
                }
                stage('build net-4.5') {
@@ -103,7 +103,7 @@ pipeline {
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:log4net.build compile-net-4.5"
                                stash includes: 'bin/**/*.*', name: 
'net-4.5-assemblies'
                                bat "${NANT_BIN} -t:net-4.0 
-buildfile:tests/nant.build runtests-net-4.5 && exit 0"
-                               junit 'testresults/**/*.xml'
+                               nunit 'testresults/**/*.xml'
                        }
                }
                stage('build mono-2.0') {

Reply via email to