Revert "HBASE-21668 SCM fetch times out for nightlies"

This reverts commit 84c1f0887d.
This commit is contained in:
Peter Somogyi 2019-01-08 08:46:46 +01:00
parent 4f0514e39a
commit 7377fcd29b
1 changed files with 7 additions and 42 deletions

View File

@ -58,16 +58,9 @@ pipeline {
stages { stages {
stage ('scm-checkout') { stage ('scm-checkout') {
steps { steps {
dir('component') { dir('component') {
checkout([ checkout scm
$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') { stage ('thirdparty installs') {
@ -210,14 +203,7 @@ pipeline {
unstash 'yetus' unstash 'yetus'
// since we have a new node definition we need to re-do the scm checkout // since we have a new node definition we need to re-do the scm checkout
dir('component') { dir('component') {
checkout([ checkout scm
$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 sh '''#!/usr/bin/env bash
set -e set -e
@ -284,14 +270,7 @@ pipeline {
''' '''
unstash 'yetus' unstash 'yetus'
dir('component') { dir('component') {
checkout([ checkout scm
$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 sh '''#!/usr/bin/env bash
set -e set -e
@ -371,14 +350,7 @@ pipeline {
''' '''
unstash 'yetus' unstash 'yetus'
dir('component') { dir('component') {
checkout([ checkout scm
$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 sh '''#!/usr/bin/env bash
set -e set -e
@ -465,14 +437,7 @@ pipeline {
''' '''
unstash 'yetus' unstash 'yetus'
dir('component') { dir('component') {
checkout([ checkout scm
$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 sh '''#!/usr/bin/env bash
set -e set -e