Skip to content

Commit

Permalink
Fix nightly build (keycloak#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst authored Aug 15, 2018
1 parent 30ec64e commit bdd309d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/build-keycloak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if [ "$GIT_REPO" != "" ]; then

# Install Maven
cd /opt/jboss
curl -s http://apache.uib.no/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz | tar xz
mv apache-maven-3.5.3 /opt/jboss/maven
curl -s http://apache.uib.no/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz | tar xz
mv apache-maven-3.5.4 /opt/jboss/maven
export M2_HOME=/opt/jboss/maven

# Clone repository
Expand All @@ -21,6 +21,7 @@ if [ "$GIT_REPO" != "" ]; then
$M2_HOME/bin/mvn -Pdistribution -pl distribution/server-dist -am -Dmaven.test.skip clean install

cd /opt/jboss

tar xfz /opt/jboss/keycloak-source/distribution/server-dist/target/keycloak-*.tar.gz

mv /opt/jboss/keycloak-?.?.?.* /opt/jboss/keycloak
Expand Down

0 comments on commit bdd309d

Please sign in to comment.