This commit is contained in:
Timo 2021-05-04 16:11:04 +03:00
parent 5883c1db47
commit 869458e379

View File

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