Skip to content

Commit

Permalink
be specific about the vco.version during concourse build
Browse files Browse the repository at this point in the history
  • Loading branch information
dlinsley committed Apr 11, 2019
1 parent 63c82b4 commit 49ba6af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/build-packages/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
for POM in $(ls */pom.xml)
do
echo "Building $POM"
mvn -f $POM -s /usr/share/maven/ref/settings-docker.xml -o versions:set -DnewVersion=$(cat o11n-package-vroremote-version/version)
mvn -f $POM -s /usr/share/maven/ref/settings-docker.xml -o package -PconcourseDistOut
mvn -f $POM -s /usr/share/maven/ref/settings-docker.xml -o versions:set -Dvco.version=$VCO_VERSION -DnewVersion=$(cat o11n-package-vroremote-version/version)
mvn -f $POM -s /usr/share/maven/ref/settings-docker.xml -o package -Dvco.version=$VCO_VERSION -PconcourseDistOut
if [ $? -eq 0 ]; then
echo -e "=== Successfully built package $POM ==="
else
echo -e "xxx Something went wrong while building $POM xxx"
fi
done
done
2 changes: 2 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
- name: dist
run:
path: o11n-package-vroremote-repo/ci/build-packages/build.sh
params:
VCO_VERSION: 7.4.0

- put: gh-release
params:
Expand Down

0 comments on commit 49ba6af

Please sign in to comment.