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 { } - }