1
0
Fork 0

draft: schedule to run monthly
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit Details

Dustin 2022-10-31 10:17:45 -05:00
parent 5f0d0cade4
commit a4d24bcf1e
1 changed files with 3 additions and 12 deletions

15
ci/Jenkinsfile vendored
View File

@ -5,9 +5,7 @@ pipeline {
kubernetes {
yamlFile 'ci/podTemplate.yaml'
defaultContainer 'buildroot'
workspaceVolume persistentVolumeClaimWorkspaceVolume(
claimName: 'jenkins-ws-pythonctnr'
)
workspaceVolume dynamicPVC()
}
}
@ -16,20 +14,13 @@ pipeline {
disableConcurrentBuilds()
}
parameters {
booleanParam \
name: 'Clean',
description: 'Clean the workspace and perform a full rebuild'
triggers {
cron 'TZ=America/Chicago\nH H H * *'
}
stages {
stage('Prepare') {
steps {
script {
if (params.Clean) {
sh 'rm -rf _build'
}
}
checkout poll: false, scm: [
$class: 'GitSCM',
branches: [[name: '2022.05.x']],