inline git, fuck this shit
This commit is contained in:
parent
c53fa113ac
commit
c4989b7e9e
@ -131,11 +131,12 @@ public class PlanSpec {
|
||||
|
||||
new ArtifactDownloaderTask().description("Download version artifact")
|
||||
.sourcePlan(new PlanIdentifier("RED","UI")).artifacts(new DownloadItem().artifact("version")),
|
||||
|
||||
|
||||
new ScriptTask().inlineBody("ls -la ."),
|
||||
// read version from artifact
|
||||
new InjectVariablesTask().path("${bamboo.build.working.directory}/version/version.properties"),
|
||||
new InjectVariablesTask().path("version.properties"),
|
||||
|
||||
new ScriptTask().description("checkout tag").inlineBody("git checkout tags/${bamboo.inject.APP_VERSION}"),
|
||||
|
||||
|
||||
new VcsBranchTask().branchName("release/${bamboo.inject.APP_VERSION}").repository("RED / ui"))
|
||||
.dockerConfiguration(new DockerConfiguration().image("nexus.iqser.com:5001/infra/release_build:2.9.1")
|
||||
.volume("/var/run/docker.sock", "/var/run/docker.sock"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user