You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/08/07 14:21:38 UTC

hbase git commit: HBASE-18527 Update nightly job to account for changes in jenkins plugins.

Repository: hbase
Updated Branches:
  refs/heads/HBASE-18527 [created] 694e4d23d


HBASE-18527 Update nightly job to account for changes in jenkins plugins.

 - Stop presuming job will be configured with checkout into a 'component' dir
 - Disable autocheckout
 - Specify checkout within 'component' dir
 - leave the workspace around on pipeline failure so we can browse it.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/694e4d23
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/694e4d23
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/694e4d23

Branch: refs/heads/HBASE-18527
Commit: 694e4d23d77d7a15bcfb1264b7fd8daf4fe176cd
Parents: 2a71745
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 6 14:46:56 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Aug 7 09:20:07 2017 -0500

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/694e4d23/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 94d8c3f..cc39eeb 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -27,6 +27,7 @@ pipeline {
     buildDiscarder(logRotator(numToKeepStr: '30'))
     timeout (time: 6, unit: 'HOURS')
     timestamps()
+    skipDefaultCheckout true
   }
   environment {
     TOOLS = "${env.WORKSPACE}/tools"
@@ -59,6 +60,11 @@ pipeline {
     booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a lot more meta-information.')
   }
   stages {
+    stage ('scm checkout') {
+      dir('component') {
+        checkout scm
+      }
+    }
     stage ('yetus install') {
       steps {
         sh  '''#!/usr/bin/env bash
@@ -298,9 +304,9 @@ END
       }
     }
   }
-  post {
-    failure {
-      deleteDir()
-    }
-  }
+//  post {
+  //  failure {
+  //    deleteDir()
+  //  }
+//  }
 }