Skip to content

Commit

Permalink
mod: let it run
Browse files Browse the repository at this point in the history
  • Loading branch information
jwtodd committed Nov 2, 2016
1 parent f10ee77 commit 83551cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ git clone -b ${internal_project_branch} https://${internal_project_user}@${inter
# note: need to add distributionManagement/repository to [ws]/pom.xml to map to settings.xml in order to mvn-deploy internally
# note: add internal repository to settings.xml; see: https://maven.apache.org/guides/mini/guide-multiple-repositories.html

#(cd ${internal_project}; cat ~/.m2/settings.xml | sed "s|</profiles>|$(cat profile.xml | tr -d '\n')</profiles>|" | sed "s|\[PWD\]|$(pwd)|" > settings.xml)
cat ~/.m2/settings.xml | sed "s|</profiles>|$(cat ${internal_project}/profile.xml | tr -d '\n')</profiles>|" | sed "s|\[PWD\]|$(pwd)|" > settings.xml

exit
# extract meta-data

service=$(mvn --settings ./settings.xml -f ./modules/main/pom.xml -P ${profile} help:evaluate -Dexpression=application.name | sed -n -e '/^\[.*\]/ !{ p; }')
Expand Down

0 comments on commit 83551cc

Please sign in to comment.