stupid
This commit is contained in:
parent
5883c1db47
commit
869458e379
@ -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 {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user