This commit is contained in:
Timo 2021-05-05 09:22:05 +03:00
parent 755b732d44
commit 5a2ca3ed19
2 changed files with 3 additions and 1 deletions

View File

@ -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"),

View File

@ -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