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 12:39:28 UTC
logging-log4net git commit: Trying to figure out the nant tool
installation path
Repository: logging-log4net
Updated Branches:
refs/heads/feature/build-multibranch 027f2ad13 -> 5ab062c89
Trying to figure out the nant tool installation 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/5ab062c8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/5ab062c8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/5ab062c8
Branch: refs/heads/feature/build-multibranch
Commit: 5ab062c8964469286f84b3cf038248b1f6f3f4ad
Parents: 027f2ad
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 14:38:53 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 14:38:53 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/5ab062c8/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 8485b9c..58cdbf6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,6 +19,8 @@
node('Windows')
{
+ def NANT_LATEST=tool name: 'NAnt (latest)', type: 'hudson.tasks.NAnt$NAntInstallation'
+ echo NANT_LATEST
dir('build')
{
stage('Checkout')
@@ -28,10 +30,10 @@ node('Windows')
stage('Build')
{
- withEnv(["Path+ANT=$ANT_LATEST\\bin","ANT_HOME=$ANT_LATEST"])
+ /*withEnv(["Path+NANT=$NANT_LATEST\\bin"])
{
- bat "ant -version"
- }
+ bat "NAnt.exe -version"
+ }*/
}
}
}