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:
parent
281d6429e5
commit
84c1f0887d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue