Repository: hbase
Updated Branches:
  refs/heads/master 281d6429e -> 84c1f0887


HBASE-21668 SCM fetch times out for nightlies

Signed-off-by: Sean Busbey <bus...@apache.org>
Signed-off-by: Michael Stack <st...@apache.org>


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

Branch: refs/heads/master
Commit: 84c1f0887d7b7968e1760f15e3d12a3f80fc87bc
Parents: 281d642
Author: Peter Somogyi <psomo...@apache.org>
Authored: Thu Jan 3 14:56:32 2019 +0100
Committer: Peter Somogyi <psomo...@apache.org>
Committed: Mon Jan 7 21:56:42 2019 +0100

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 49 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 42 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/84c1f088/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index b333afb..d36318b 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -58,9 +58,16 @@ pipeline {
   stages {
     stage ('scm-checkout') {
       steps {
-            dir('component') {
-              checkout scm
-            }
+        dir('component') {
+          checkout([
+            $class: 'GitSCM',
+            branches: scm.branches,
+            extensions: scm.extensions + [
+              [$class: 'CleanBeforeCheckout'],
+              [$class: 'CloneOption', honorRefspec: true, noTags: true, 
reference: '', shallow: true, depth: 30]],
+            userRemoteConfigs: scm.userRemoteConfigs
+          ])
+        }
       }
     }
     stage ('thirdparty installs') {
@@ -203,7 +210,14 @@ pipeline {
             unstash 'yetus'
             // since we have a new node definition we need to re-do the scm 
checkout
             dir('component') {
-              checkout scm
+              checkout([
+                $class: 'GitSCM',
+                branches: scm.branches,
+                extensions: scm.extensions + [
+                  [$class: 'CleanBeforeCheckout'],
+                  [$class: 'CloneOption', honorRefspec: true, noTags: true, 
reference: '', shallow: true, depth: 30]],
+                userRemoteConfigs: scm.userRemoteConfigs
+              ])
             }
             sh '''#!/usr/bin/env bash
               set -e
@@ -270,7 +284,14 @@ pipeline {
 '''
             unstash 'yetus'
             dir('component') {
-              checkout scm
+              checkout([
+                $class: 'GitSCM',
+                branches: scm.branches,
+                extensions: scm.extensions + [
+                  [$class: 'CleanBeforeCheckout'],
+                  [$class: 'CloneOption', honorRefspec: true, noTags: true, 
reference: '', shallow: true, depth: 30]],
+                userRemoteConfigs: scm.userRemoteConfigs
+              ])
             }
             sh '''#!/usr/bin/env bash
               set -e
@@ -350,7 +371,14 @@ pipeline {
 '''
             unstash 'yetus'
             dir('component') {
-              checkout scm
+              checkout([
+                $class: 'GitSCM',
+                branches: scm.branches,
+                extensions: scm.extensions + [
+                  [$class: 'CleanBeforeCheckout'],
+                  [$class: 'CloneOption', honorRefspec: true, noTags: true, 
reference: '', shallow: true, depth: 30]],
+                userRemoteConfigs: scm.userRemoteConfigs
+              ])
             }
             sh '''#!/usr/bin/env bash
               set -e
@@ -437,7 +465,14 @@ pipeline {
 '''
             unstash 'yetus'
             dir('component') {
-              checkout scm
+              checkout([
+                $class: 'GitSCM',
+                branches: scm.branches,
+                extensions: scm.extensions + [
+                  [$class: 'CleanBeforeCheckout'],
+                  [$class: 'CloneOption', honorRefspec: true, noTags: true, 
reference: '', shallow: true, depth: 30]],
+                userRemoteConfigs: scm.userRemoteConfigs
+              ])
             }
             sh '''#!/usr/bin/env bash
               set -e

Reply via email to