Jenkinsfile: moved method definition to the end of the file

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

Branch: refs/heads/develop
Commit: 48926d6c2c849d515798815dc3c36068cb7ccd0e
Parents: 7ae5c96
Author: Dominik Psenner <[email protected]>
Authored: Mon Jul 3 14:27:25 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Mon Jul 3 14:27:25 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/48926d6c/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index ebad3f9..6b3dfce 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -25,10 +25,6 @@ pipeline {
                label 'ubuntu'
                skipDefaultCheckout()
        }
-       // TODO: find a better way to determine nant installation path
-       def getPathToNAntOnWindows() {
-               return 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe'
-       }
        stages {
                stage('checkout') {
                        steps {
@@ -156,3 +152,8 @@ pipeline {
        }
 }
 
+// TODO: find a better way to determine nant installation path
+def getPathToNAntOnWindows() {
+       return 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe'
+}
+

Reply via email to