Fixed jenkinsfile syntax error

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

Branch: refs/heads/master
Commit: 800a19e2588dcdfc883a285d370fbded1943664a
Parents: 5fe4cd5
Author: Dominik Psenner <[email protected]>
Authored: Fri Jun 30 20:25:34 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Fri Jun 30 20:25:34 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/800a19e2/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 817a9d4..d8a93c7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,16 +34,16 @@ pipeline {
                }
                stage('Build') {
                        agent { label 'Windows' }
-                       withEnv(["Path+NANT=$NANT_LATEST"]) {
-                               steps {
+                       steps {
+                               withEnv(["Path+NANT=$NANT_LATEST"]) {
                                        bat "NAnt.exe -buildfile:log4net.build"
                                }
                        }
                }
                stage('Test') {
                        agent { label 'Windows' }
-                       withEnv(["Path+NANT=$NANT_LATEST"]) {
-                               steps {
+                       steps {
+                               withEnv(["Path+NANT=$NANT_LATEST"]) {
                                        bat "NAnt.exe 
-buildfile:tests\\nant.build"
                                }
                        }

Reply via email to