Skip to content

Commit

Permalink
Remove clone steps from update jobs
Browse files Browse the repository at this point in the history
Remove redundant clone operations in the pipeline.

Signed-off-by: Pablo Chacin <pchacin@suse.com>
(cherry picked from commit 1bf3f4a)
  • Loading branch information
Pablo Chacin committed Jul 8, 2020
1 parent 26fc6fe commit 69f757a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 42 deletions.
14 changes: 0 additions & 14 deletions ci/jenkins/pipelines/prs/skuba-jjb-validation.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,6 @@ pipeline {
sh(script: "${PR_MANAGER} update-pr-status ${PR_CONTEXT} 'pending'", label: "Sending pending status")
} }

stage('Git Clone') { steps {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: "*/${BRANCH_NAME}"]],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'LocalBranch'],
[$class: 'WipeWorkspace'],
[$class: 'RelativeTargetDirectory', relativeTargetDir: 'skuba']],
submoduleCfg: [],
userRemoteConfigs: [[refspec: '+refs/pull/*/head:refs/remotes/origin/PR-*',
credentialsId: 'github-token',
url: 'https://github.com/SUSE/skuba']]])
}}

stage('Info') { steps {
sh(script: "make -f ci/Makefile info", label: 'Info')
} }
Expand Down
14 changes: 0 additions & 14 deletions ci/jenkins/pipelines/prs/skuba-update-acceptance.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,6 @@ pipeline {
sh(script: "${PR_MANAGER} update-pr-status ${PR_CONTEXT} 'pending'", label: "Sending pending status")
} }

stage('Git Clone') { steps {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: "*/${BRANCH_NAME}"]],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'LocalBranch'],
[$class: 'WipeWorkspace'],
[$class: 'RelativeTargetDirectory', relativeTargetDir: 'skuba']],
submoduleCfg: [],
userRemoteConfigs: [[refspec: '+refs/pull/*/head:refs/remotes/origin/PR-*',
credentialsId: 'github-token',
url: 'https://github.com/SUSE/skuba']]])
}}

stage('skuba-update SUSE OS Tests') {
when {
expression {
Expand Down
14 changes: 0 additions & 14 deletions ci/jenkins/pipelines/prs/skuba-update-unit.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,6 @@ pipeline {
sh(script: "${PR_MANAGER} update-pr-status ${PR_CONTEXT} 'pending'", label: "Sending pending status")
} }

stage('Git Clone') { steps {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: "*/${BRANCH_NAME}"]],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'LocalBranch'],
[$class: 'WipeWorkspace'],
[$class: 'RelativeTargetDirectory', relativeTargetDir: 'skuba']],
submoduleCfg: [],
userRemoteConfigs: [[refspec: '+refs/pull/*/head:refs/remotes/origin/PR-*',
credentialsId: 'github-token',
url: 'https://github.com/SUSE/skuba']]])
}}

stage('skuba-update SUSE Unit Tests') {
when {
expression {
Expand Down

0 comments on commit 69f757a

Please sign in to comment.