This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/main by this push:
new fd5fa331 kie-issues#1151: use wipeWorkspace instead (#1192)
fd5fa331 is described below
commit fd5fa3317c224645bafc19a61d0d86ed51a33a2d
Author: Jan Stastny <[email protected]>
AuthorDate: Mon May 6 14:26:18 2024 +0200
kie-issues#1151: use wipeWorkspace instead (#1192)
Co-authored-by: jstastny-cz <[email protected]>
---
dsl/seed/jobs/seed_job_branch.groovy | 4 ++--
dsl/seed/jobs/seed_job_main.groovy | 2 +-
.../src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dsl/seed/jobs/seed_job_branch.groovy
b/dsl/seed/jobs/seed_job_branch.groovy
index ba9f3f74..cb3973f6 100644
--- a/dsl/seed/jobs/seed_job_branch.groovy
+++ b/dsl/seed/jobs/seed_job_branch.groovy
@@ -109,7 +109,7 @@ pipelineJob("${GENERATION_BRANCH}/${JOB_NAME}") {
}
branch('${SEED_BRANCH}')
extensions {
- wipeOutWorkspace()
+ wipeWorkspace()
cleanBeforeCheckout()
}
}
@@ -161,7 +161,7 @@
pipelineJob("${GENERATION_BRANCH}/tools/toggle-dsl-triggers") {
}
branch(Utils.getSeedBranch(this))
extensions {
- wipeOutWorkspace()
+ wipeWorkspace()
cleanBeforeCheckout()
}
}
diff --git a/dsl/seed/jobs/seed_job_main.groovy
b/dsl/seed/jobs/seed_job_main.groovy
index a99d5bd8..44c6f320 100644
--- a/dsl/seed/jobs/seed_job_main.groovy
+++ b/dsl/seed/jobs/seed_job_main.groovy
@@ -137,7 +137,7 @@ pipelineJob('0-seed-job') {
}
branch('${SEED_BRANCH}')
extensions {
- wipeOutWorkspace()
+ wipeWorkspace()
cleanBeforeCheckout()
}
}
diff --git
a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy
b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy
index abf07309..6bc26b65 100644
--- a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy
+++ b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy
@@ -151,7 +151,7 @@ class KogitoJobTemplate {
}
branch(jobParams.git.branch)
extensions {
- wipeOutWorkspace()
+ wipeWorkspace()
cleanBeforeCheckout()
if (jobParams.git.useRelativeTargetDirectory) {
relativeTargetDirectory(repository)
@@ -236,7 +236,7 @@ class KogitoJobTemplate {
branch(jobParams.pr.checkout_branch ?: '${sha1}')
extensions {
- wipeOutWorkspace()
+ wipeWorkspace()
cleanBeforeCheckout()
if (jobParams.git.useRelativeTargetDirectory) {
relativeTargetDirectory(repository)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]