build attempt fix
This commit is contained in:
parent
8cce49cc2d
commit
7dca9546c2
@ -70,6 +70,12 @@ public class PlanSpec {
|
||||
.submodulesEnabled(true)
|
||||
.authentication(new SharedCredentialsIdentifier("bamboo-agent")
|
||||
.scope(SharedCredentialsScope.GLOBAL)))
|
||||
.planRepositories(new GitRepository()
|
||||
.name("common-ui")
|
||||
.url("ssh://git@git.iqser.com:2222/sl/common-ui.git")
|
||||
.branch("master")
|
||||
.authentication(new SharedCredentialsIdentifier("bamboo-agent")
|
||||
.scope(SharedCredentialsScope.GLOBAL)))
|
||||
.planBranchManagement(new PlanBranchManagement().createForVcsBranch().delete(new BranchCleanup().whenInactiveInRepositoryAfterDays(30)).notificationForCommitters());
|
||||
}
|
||||
|
||||
@ -78,7 +84,10 @@ public class PlanSpec {
|
||||
.tasks(
|
||||
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
||||
// Checkout
|
||||
new VcsCheckoutTask().description("Checkout Default Repository")
|
||||
new VcsCheckoutTask().description("Checkout Common UI Repository")
|
||||
.checkoutItems(new CheckoutItem().repository("common-ui").path("common-ui")),
|
||||
|
||||
new VcsCheckoutTask().description("Checkout Redaction Repository")
|
||||
.checkoutItems(new CheckoutItem().repository("redaction-ui").path("redaction-ui")),
|
||||
|
||||
// Build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user