draft: schedule to run monthly
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
Details
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
Details
parent
5f0d0cade4
commit
a4d24bcf1e
|
@ -5,9 +5,7 @@ pipeline {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
yamlFile 'ci/podTemplate.yaml'
|
yamlFile 'ci/podTemplate.yaml'
|
||||||
defaultContainer 'buildroot'
|
defaultContainer 'buildroot'
|
||||||
workspaceVolume persistentVolumeClaimWorkspaceVolume(
|
workspaceVolume dynamicPVC()
|
||||||
claimName: 'jenkins-ws-pythonctnr'
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,20 +14,13 @@ pipeline {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
}
|
}
|
||||||
|
|
||||||
parameters {
|
triggers {
|
||||||
booleanParam \
|
cron 'TZ=America/Chicago\nH H H * *'
|
||||||
name: 'Clean',
|
|
||||||
description: 'Clean the workspace and perform a full rebuild'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Prepare') {
|
stage('Prepare') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
|
||||||
if (params.Clean) {
|
|
||||||
sh 'rm -rf _build'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
checkout poll: false, scm: [
|
checkout poll: false, scm: [
|
||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: '2022.05.x']],
|
branches: [[name: '2022.05.x']],
|
||||||
|
|
Loading…
Reference in New Issue