hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [6/7] hbase git commit: HBASE-18527 Update nightly job to account for changes in jenkins plugins.
Date Mon, 07 Aug 2017 16:27:02 GMT
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/d630c860
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d630c860
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d630c860

Branch: refs/heads/branch-1.2
Commit: d630c860947173acedaeb252df3be6a84a471744
Parents: cd683e6
Author: Sean Busbey <busbey@apache.org>
Authored: Sun Aug 6 14:46:56 2017 -0500
Committer: Sean Busbey <busbey@apache.org>
Committed: Mon Aug 7 11:25:35 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/d630c860/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index cdb62b9..93648a1 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()
   }
   environment {
     TOOLS = "${env.WORKSPACE}/tools"
@@ -59,6 +60,13 @@ pipeline {
     booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a lot more meta-information.')
   }
   stages {
+    stage ('scm checkout') {
+      steps {
+        dir('component') {
+          checkout scm
+        }
+      }
+    }
     stage ('yetus install') {
       steps {
         sh  '''#!/usr/bin/env bash
@@ -298,9 +306,4 @@ END
       }
     }
   }
-  post {
-    failure {
-      deleteDir()
-    }
-  }
 }


Mime
View raw message