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 14:42:58 UTC

[08/12] logging-log4net git commit: Set ant environment variable and add ant to path

Set ant environment variable and add ant to path


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

Branch: refs/heads/develop
Commit: 027f2ad130c8840bc2b3e68ac6876ae59691dc5c
Parents: e62f958
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 13:10:54 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 13:10:54 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/027f2ad1/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 2b3e7a6..8485b9c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,10 @@ node('Windows')
 
 		stage('Build')
 		{
-			bat "echo %ANT_HOME%"
+			withEnv(["Path+ANT=$ANT_LATEST\\bin","ANT_HOME=$ANT_LATEST"])
+			{
+                		bat "ant -version"
+                	}
 		}
 	}
 }