ps updates

This commit is contained in:
Timo 2021-05-04 15:17:09 +03:00
parent 9b410f7101
commit 91fa6e54ba

View File

@ -111,6 +111,7 @@ public class PlanSpec {
new VcsCommitTask().commitMessage("chore(release)").repository("RED / ui"), new VcsCommitTask().commitMessage("chore(release)").repository("RED / ui"),
// create tag with this version // create tag with this version
new VcsTagTask().tagName("${bamboo.inject.APP_VERSION}").repository("RED / ui")) new VcsTagTask().tagName("${bamboo.inject.APP_VERSION}").repository("RED / ui"))
.dockerConfiguration(new DockerConfiguration().image("nexus.iqser.com:5001/infra/release_build:2.9.1") .dockerConfiguration(new DockerConfiguration().image("nexus.iqser.com:5001/infra/release_build:2.9.1")
.volume("/var/run/docker.sock", "/var/run/docker.sock")) .volume("/var/run/docker.sock", "/var/run/docker.sock"))
@ -123,7 +124,7 @@ public class PlanSpec {
return new Job("Create Release", new BambooKey("CRLS")) return new Job("Create Release", new BambooKey("CRLS"))
.tasks( .tasks(
new VcsCheckoutTask().description("Checkout Default Repository") new VcsCheckoutTask().description("Checkout Default Repository")
.checkoutItems(new CheckoutItem().defaultRepository()).cleanCheckout(true)., .checkoutItems(new CheckoutItem().defaultRepository()).cleanCheckout(true),
new ScriptTask().inlineBody("ls -la ."), new ScriptTask().inlineBody("ls -la ."),
// read version from artifact // read version from artifact