From 08b9e6879c25edc5689bc9f9c9658725cede76f1 Mon Sep 17 00:00:00 2001 From: Andrew Leonard <31470007+andrew-m-leonard@users.noreply.github.com> Date: Fri, 17 Nov 2023 11:33:36 +0000 Subject: [PATCH] Ensure release pipelines clean the build workspace before build (#842) Signed-off-by: Andrew Leonard --- pipelines/jobs/release_pipeline_job_template.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/jobs/release_pipeline_job_template.groovy b/pipelines/jobs/release_pipeline_job_template.groovy index 891222a6e..ba82b07b0 100644 --- a/pipelines/jobs/release_pipeline_job_template.groovy +++ b/pipelines/jobs/release_pipeline_job_template.groovy @@ -86,7 +86,7 @@ pipelineJob("${BUILD_FOLDER}/${JOB_NAME}") { booleanParam('enableSigner', runSigner, 'If set to true the signer pipeline will be executed') stringParam('additionalBuildArgs', '', 'Additional arguments to be passed to makejdk-any-platform.sh') stringParam('overrideFileNameVersion', '', "When forming the filename, ignore the part of the filename derived from the publishName or timestamp and override it.
For instance if you set this to 'FOO' the final file name will be of the form: OpenJDK8U-jre_ppc64le_linux_openj9_FOO.tar.gz") - booleanParam('cleanWorkspaceBeforeBuild', false, 'Clean out the workspace before the build') + booleanParam('cleanWorkspaceBeforeBuild', true, 'Clean out the workspace before the build') booleanParam('cleanWorkspaceAfterBuild', false, 'Clean out the workspace after the build') booleanParam('cleanWorkspaceBuildOutputAfterBuild', cleanWsBuildOutput, 'Clean out the workspace/build/src/build and workspace/target output only, after the build') booleanParam('propagateFailures', propagateFailures, 'If true, a failure of ANY downstream build will cause the whole build to fail')