HBASE-21668 SCM fetch times out for nightlies

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
Peter Somogyi 2019-01-03 14:56:32 +01:00
parent 281d6429e5
commit 84c1f0887d
1 changed files with 42 additions and 7 deletions

View File

@ -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