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 authored and nickboldt committed Aug 14, 2015
1 parent e780a55 commit e6db0d0
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 e6db0d0

Please sign in to comment.