You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/07/05 14:43:48 UTC
[41/50] logging-log4net git commit: Tests: changed type to NUnit
Tests: changed type to NUnit
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/61cfa80b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/61cfa80b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/61cfa80b
Branch: refs/heads/develop
Commit: 61cfa80b5cf81d2595b722f43ecf9f85c18c68d3
Parents: 5ac90ab
Author: Dominik Psenner <dp...@apache.org>
Authored: Wed Jul 5 15:29:41 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Wed Jul 5 15:29:41 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 34 ++++++++++++++++++++--------------
1 file changed, 20 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/61cfa80b/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 79359fd..650b075 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -47,19 +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"
- step([
- $class : 'XUnitBuilder',
- tools : [
- [
- $class : 'NUnitType',
- deleteOutputFiles : false,
- failIfNotNew : true,
- pattern : 'tests/bin/**/*.xml',
- skipNoTestFiles : true,
- stopProcessingIfError: false
- ]
- ]
- ])
+ stash includes: 'tests/bin/**/*.xml', name: 'net-3.5-testresults'
}
}
stage('build net-3.5-cp') {
@@ -211,6 +199,9 @@ pipeline {
unstash 'mono-4.0-assemblies'
unstash 'netstandard-assemblies'
+ // unstash test results
+ unstash 'net-3.5-testresults'
+
// unstash site
unstash 'site'
}
@@ -218,7 +209,22 @@ pipeline {
// move site
sh 'mv package/target/site/ package/site/'
sh 'rmdir -p --ignore-fail-on-non-empty package/target'
-
+
+ // record test results
+ step([
+ $class : 'XUnitBuilder',
+ tools : [
+ [
+ $class : 'NUnit',
+ deleteOutputFiles : false,
+ failIfNotNew : true,
+ pattern : 'tests/bin/**/*.xml',
+ skipNoTestFiles : true,
+ stopProcessingIfError: false
+ ]
+ ]
+ ])
+
// archive package
archive 'package/**/*.*'
}