Enabled pipeline timeout

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

Branch: refs/heads/master
Commit: 17bb7937e6c51b8ad4c23f785bc3fdc93de20d8f
Parents: 0f156e9
Author: Dominik Psenner <[email protected]>
Authored: Sat Jul 1 01:45:28 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Sat Jul 1 01:45:28 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/17bb7937/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 008eb18..f75618c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,11 +18,9 @@
  */
 
 pipeline {
-       /*
-       TODO: eventually enable timeouts for the entire pipeline
        options {
                timeout(time: 1, unit 'HOURS')
-       }*/
+       }
        agent any
        environment {
                NAnt = 'F:\\jenkins\\tools\\nant\\nant-0.92\\bin\\NAnt.exe'
@@ -48,9 +46,9 @@ pipeline {
                        }
                }
                stage('Build-Site') {
-                       agent { label 'ubuntu' }
+                       agent { label 'Windodws' }
                        steps {
-                               echo 'Ths is a placeholder for the build of the 
site'
+                               bat "${NAnt} -buildfile:log4net.build 
generate-site"
                        }
                }
                stage('Deploy-Site') {

Reply via email to