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/06/30 18:49:29 UTC

logging-log4net git commit: Fixed typo

Repository: logging-log4net
Updated Branches:
  refs/heads/develop 800a19e25 -> 8aa305c3e


Fixed typo


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

Branch: refs/heads/develop
Commit: 8aa305c3e359f6aaf4a25351a373b1ab1de5679f
Parents: 800a19e
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 20:47:45 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 20:47:45 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/8aa305c3/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index d8a93c7..b85fbd5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,6 +23,9 @@ pipeline {
 	options {
 		timeout(time: 1, unit 'HOURS')
 	}*/
+	environment {
+		NAnt = 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe'
+	}
 	stages {
 		// TODO: find a better way to determine nant latest
 		def NANT_LATEST="F:\\jenkins\\tools\\nant\\nant-0.92\\bin"
@@ -35,17 +38,13 @@ pipeline {
 		stage('Build') {
 			agent { label 'Windows' }
 			steps {
-				withEnv(["Path+NANT=$NANT_LATEST"]) {
-					bat "NAnt.exe -buildfile:log4net.build"
-				}
+				bat "${NAnt} -buildfile:log4net.build"
 			}
 		}
-		stage('Test') {
+		stage('Test on Windows') {
 			agent { label 'Windows' }
 			steps {
-				withEnv(["Path+NANT=$NANT_LATEST"]) {
-					bat "NAnt.exe -buildfile:tests\\nant.build"
-				}
+				bat "${NAnt} -buildfile:tests\\nant.build"
 			}
 		}
 		stage('Build-Site') {
@@ -65,7 +64,7 @@ pipeline {
 		}
 	}
 	post {
-		failed {
+		failure {
 			echo 'Failed build'
 			// TODO: send email as soon as the entire building is more stable
 			//step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'dev@logging.apache.org'])