Pull request #248: clean dir before build
Merge in RED/ui from cschabert/PlanSpecjava-1626774370363 to master * commit '8dda6e5bfda770dcb823ecc4493ad436e4af0c33': clean dir before build
This commit is contained in:
commit
a02b709517
@ -67,6 +67,7 @@ public class PlanSpec {
|
||||
public Job creatGinCloudPlatformImagesJob(String project) {
|
||||
return new Job("Build Job: " + project, new BambooKey(project.toUpperCase().replaceAll("-", "")))
|
||||
.tasks(
|
||||
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
||||
// Checkout
|
||||
new VcsCheckoutTask().description("Checkout Default Repository")
|
||||
.checkoutItems(new CheckoutItem().defaultRepository()),
|
||||
@ -96,6 +97,7 @@ public class PlanSpec {
|
||||
public Job createRelease() {
|
||||
return new Job("Create Release", new BambooKey("CRLS"))
|
||||
.tasks(
|
||||
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
||||
new VcsCheckoutTask().description("Checkout Default Repository")
|
||||
.checkoutItems(new CheckoutItem().defaultRepository()).cleanCheckout(true),
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user