fixes
This commit is contained in:
parent
755b732d44
commit
5a2ca3ed19
@ -130,7 +130,8 @@ 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"),
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
imageName="nexus.iqser.com:5001/red/$PROJECT"
|
||||
dockerfileLocation="docker/$PROJECT/Dockerfile"
|
||||
|
||||
echo "On branch ${BRANCH_NAME}"
|
||||
# shellcheck disable=SC2154
|
||||
if [[ "${BRANCH_NAME}" == "master" ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user