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/04 15:39:21 UTC

logging-log4net git commit: Jenkinsfile: do not abort pipeline when tests fail

Repository: logging-log4net
Updated Branches:
  refs/heads/feature/cd-pipeline 900a9d3af -> 3a0e2d239


Jenkinsfile: do not abort pipeline when tests fail


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

Branch: refs/heads/feature/cd-pipeline
Commit: 3a0e2d239b4ae6e1725e228808cfd6f7de109f2a
Parents: 900a9d3
Author: Dominik Psenner <dp...@apache.org>
Authored: Tue Jul 4 17:39:07 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Tue Jul 4 17:39:07 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/3a0e2d23/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 21f2211..d56a113 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -46,7 +46,7 @@ pipeline {
 				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"
+				bat "${NANT_BIN} -t:net-3.5 -buildfile:tests/nant.build runtests-net-3.5 || true"
 				stash includes: 'tests/bin/**/results/*.*', name: 'net-3.5-testresults'
 			}
 		}
@@ -60,7 +60,7 @@ pipeline {
 				checkout scm
 				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"
+				bat "${NANT_BIN} -t:net-3.5 -buildfile:tests/nant.build runtests-net-3.5-cp || true"
 				stash includes: 'tests/bin/**/results/*.*', name: 'net-3.5-cp-testresults'
 			}
 		}
@@ -74,7 +74,7 @@ pipeline {
 				checkout scm
 				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"
+				bat "${NANT_BIN} -t:net-4.0 -buildfile:tests/nant.build runtests-net-4.0 || true"
 				stash includes: 'tests/bin/**/results/*.*', name: 'net-4.0-testresults'
 			}
 		}
@@ -88,7 +88,7 @@ pipeline {
 				checkout scm
 				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"
+				bat "${NANT_BIN} -t:net-4.0 -buildfile:tests/nant.build runtests-net-4.0-cp || true"
 				stash includes: 'tests/bin/**/results/*.*', name: 'net-4.0-cp-testresults'
 			}
 		}
@@ -102,7 +102,7 @@ pipeline {
 				checkout scm
 				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"
+				bat "${NANT_BIN} -t:net-4.0 -buildfile:tests/nant.build runtests-net-4.5 || true"
 				stash includes: 'tests/bin/**/results/*.*', name: 'net-4.5-testresults'
 			}
 		}