Skip to content

Commit

Permalink
kie-issues#1151: use wipeWorkspace instead (#1192)
Browse files Browse the repository at this point in the history
Co-authored-by: jstastny-cz <jan.stastny@ibm.com>
  • Loading branch information
jstastny-cz and jstastny-cz committed May 6, 2024
1 parent 0362ea7 commit fd5fa33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dsl/seed/jobs/seed_job_branch.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pipelineJob("${GENERATION_BRANCH}/${JOB_NAME}") {
}
branch('${SEED_BRANCH}')
extensions {
wipeOutWorkspace()
wipeWorkspace()
cleanBeforeCheckout()
}
}
Expand Down Expand Up @@ -161,7 +161,7 @@ pipelineJob("${GENERATION_BRANCH}/tools/toggle-dsl-triggers") {
}
branch(Utils.getSeedBranch(this))
extensions {
wipeOutWorkspace()
wipeWorkspace()
cleanBeforeCheckout()
}
}
Expand Down
2 changes: 1 addition & 1 deletion dsl/seed/jobs/seed_job_main.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pipelineJob('0-seed-job') {
}
branch('${SEED_BRANCH}')
extensions {
wipeOutWorkspace()
wipeWorkspace()
cleanBeforeCheckout()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class KogitoJobTemplate {
}
branch(jobParams.git.branch)
extensions {
wipeOutWorkspace()
wipeWorkspace()
cleanBeforeCheckout()
if (jobParams.git.useRelativeTargetDirectory) {
relativeTargetDirectory(repository)
Expand Down Expand Up @@ -236,7 +236,7 @@ class KogitoJobTemplate {
branch(jobParams.pr.checkout_branch ?: '${sha1}')

extensions {
wipeOutWorkspace()
wipeWorkspace()
cleanBeforeCheckout()
if (jobParams.git.useRelativeTargetDirectory) {
relativeTargetDirectory(repository)
Expand Down

0 comments on commit fd5fa33

Please sign in to comment.