From 869458e379281cd666374e06109d5f5053deb5d3 Mon Sep 17 00:00:00 2001 From: Timo Date: Tue, 4 May 2021 16:11:04 +0300 Subject: [PATCH] stupid --- bamboo-specs/src/main/java/buildjob/PlanSpec.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bamboo-specs/src/main/java/buildjob/PlanSpec.java b/bamboo-specs/src/main/java/buildjob/PlanSpec.java index 942e69fdb..3273247fa 100644 --- a/bamboo-specs/src/main/java/buildjob/PlanSpec.java +++ b/bamboo-specs/src/main/java/buildjob/PlanSpec.java @@ -68,8 +68,8 @@ public class PlanSpec { .manual(true) .jobs(createRelease())) .linkedRepositories("RED / ui") - .triggers(new BitbucketServerTrigger()).planBranchManagement(new PlanBranchManagement().createForVcsBranch() - .delete(new BranchCleanup().whenInactiveInRepositoryAfterDays(30)).notificationForCommitters()); + .triggers(new BitbucketServerTrigger()) + .planBranchManagement(new PlanBranchManagement().createForVcsBranch().delete(new BranchCleanup().whenInactiveInRepositoryAfterDays(30)).notificationForCommitters()); } public Job creatGinCloudPlatformImagesJob(String project) { @@ -130,7 +130,7 @@ public class PlanSpec { .checkoutItems(new CheckoutItem().defaultRepository()).cleanCheckout(true), new ArtifactDownloaderTask().description("Download version artifact") - .sourcePlan(new PlanIdentifier("RED","UI")).artifacts(new DownloadItem().artifact("version")), + .sourcePlan(new PlanIdentifier("RED", "UI")).artifacts(new DownloadItem().artifact("version")), // read version from artifact new InjectVariablesTask().path("version.properties"), @@ -143,5 +143,4 @@ public class PlanSpec { } - }