Repository: hbase Updated Branches: refs/heads/master 4f0514e39 -> 7377fcd29
Revert "HBASE-21668 SCM fetch times out for nightlies" This reverts commit 84c1f0887d7b7968e1760f15e3d12a3f80fc87bc. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7377fcd2 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7377fcd2 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7377fcd2 Branch: refs/heads/master Commit: 7377fcd29bf45208214973547facf4853620fba8 Parents: 4f0514e Author: Peter Somogyi <psomo...@apache.org> Authored: Tue Jan 8 08:46:46 2019 +0100 Committer: Peter Somogyi <psomo...@apache.org> Committed: Tue Jan 8 08:46:46 2019 +0100 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 49 +++++++------------------------------------- 1 file changed, 7 insertions(+), 42 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/7377fcd2/dev-support/Jenkinsfile ---------------------------------------------------------------------- diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index d36318b..b333afb 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -58,16 +58,9 @@ pipeline { stages { stage ('scm-checkout') { steps { - 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 - ]) - } + dir('component') { + checkout scm + } } } stage ('thirdparty installs') { @@ -210,14 +203,7 @@ pipeline { unstash 'yetus' // since we have a new node definition we need to re-do the scm checkout 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 - ]) + checkout scm } sh '''#!/usr/bin/env bash set -e @@ -284,14 +270,7 @@ pipeline { ''' unstash 'yetus' 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 - ]) + checkout scm } sh '''#!/usr/bin/env bash set -e @@ -371,14 +350,7 @@ pipeline { ''' unstash 'yetus' 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 - ]) + checkout scm } sh '''#!/usr/bin/env bash set -e @@ -465,14 +437,7 @@ pipeline { ''' unstash 'yetus' 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 - ]) + checkout scm } sh '''#!/usr/bin/env bash set -e