ci: shallow clone production Jenkins checkouts
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -37,7 +37,10 @@ pipeline {
|
|||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [[$class: 'CleanBeforeCheckout']],
|
extensions: [
|
||||||
|
[$class: 'CleanBeforeCheckout'],
|
||||||
|
[$class: 'CloneOption', shallow: true, depth: 1, noTags: true, timeout: 30],
|
||||||
|
],
|
||||||
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
||||||
])
|
])
|
||||||
sh '''
|
sh '''
|
||||||
|
|||||||
@@ -45,7 +45,10 @@ pipeline {
|
|||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [[$class: 'CleanBeforeCheckout']],
|
extensions: [
|
||||||
|
[$class: 'CleanBeforeCheckout'],
|
||||||
|
[$class: 'CloneOption', shallow: true, depth: 1, noTags: true, timeout: 30],
|
||||||
|
],
|
||||||
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
||||||
])
|
])
|
||||||
sh '''
|
sh '''
|
||||||
|
|||||||
@@ -38,7 +38,10 @@ pipeline {
|
|||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [[$class: 'CleanBeforeCheckout']],
|
extensions: [
|
||||||
|
[$class: 'CleanBeforeCheckout'],
|
||||||
|
[$class: 'CloneOption', shallow: true, depth: 1, noTags: true, timeout: 30],
|
||||||
|
],
|
||||||
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
||||||
])
|
])
|
||||||
powershell '''
|
powershell '''
|
||||||
|
|||||||
@@ -33,7 +33,10 @@ pipeline {
|
|||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
branches: [[name: "*/${params.SOURCE_BRANCH}"]],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [[$class: 'CleanBeforeCheckout']],
|
extensions: [
|
||||||
|
[$class: 'CleanBeforeCheckout'],
|
||||||
|
[$class: 'CloneOption', shallow: true, depth: 1, noTags: true, timeout: 30],
|
||||||
|
],
|
||||||
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
userRemoteConfigs: [[url: "${GIT_REMOTE_URL}"]],
|
||||||
])
|
])
|
||||||
sh '''
|
sh '''
|
||||||
|
|||||||
Reference in New Issue
Block a user