Skip to content

Commit

Permalink
JBIDE-16140 add default-maven-version into shell script section
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Jul 22, 2015
1 parent a43548f commit 004a609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildchow/templates/component-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
- shell: |
if [[ ${{skipRevisionCheckWhenPublishing}} == "true" ]] || [[ $(. ${{WORKSPACE}}/sources/util/checkLatestPublishedSHA.sh -s ${{WORKSPACE}}/sources/site/target/repository -t http://download.jboss.org/jbosstools/mars/snapshots/builds/${{JOB_NAME}}/latest/all/repo/) == "true" ]]; then
cd ${{WORKSPACE}}/sources/site
M2_HOME=/qa/tools/opt/apache-maven-3.2.5/
M2_HOME=/qa/tools/opt/apache-{default-maven-version}/
$M2_HOME/bin/mvn deploy -Pdeploy-to-jboss.org -Dmaven.repo.local=$WORKSPACE/.repository ${{MAVEN_FLAGS}}
else
echo "Publish cancelled (nothing to do). Skip this check with skipRevisionCheckWhenPublishing=true"
Expand Down

0 comments on commit 004a609

Please sign in to comment.