diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index c880226..8f596dc 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -5,9 +5,7 @@ pipeline { kubernetes { yamlFile 'ci/podTemplate.yaml' defaultContainer 'buildroot' - workspaceVolume persistentVolumeClaimWorkspaceVolume( - claimName: 'jenkins-ws-metricspi' - ) + workspaceVolume dynamicPVC() } } @@ -16,12 +14,6 @@ pipeline { disableConcurrentBuilds() } - parameters { - booleanParam \ - name: 'Clean', - description: 'Clean the workspace and perform a full rebuild' - } - environment { BUILDROOT_SRC = "${env.WORKSPACE}/buildroot" TMPDIR = "${env.WORKSPACE_TMP}" @@ -32,11 +24,6 @@ pipeline { stages { stage('Prepare') { steps { - script { - if (params.Clean) { - sh 'rm -rf _build' - } - } checkout poll: false, scm: [ $class: 'GitSCM', branches: [[name: '2022.05.x']],