Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 42 lines (29 sloc) 0.962 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#!/bin/sh

echo "*** Unsetting variables ***"
echo "Before:"
echo " GEM_HOME: $GEM_HOME"
echo " GEM_PATH: $GEM_PATH"
echo " BUNDLE_PATH: $BUNDLE_PATH"

unset GEM_HOME
unset GEM_PATH
unset BUNDLE_PATH

echo "After:"
echo " GEM_HOME: $GEM_HOME"
echo " GEM_PATH: $GEM_PATH"
echo " BUNDLE_PATH: $BUNDLE_PATH"

echo "*** Environment ***"
set

echo "*** PWD ***"
echo $PWD

echo "*** Start Preflight ***"
echo "Removing $M2_REPO/org/torquebox/"
rm -rf $M2_REPO/org/torquebox

echo "Removing $M2_REPO/rubygems"
rm -rf $M2_REPO/rubygems

echo "Peforming cleaning"
$MAVEN_HOME/bin/mvn clean -Pinteg -Pdist

echo "*** Start Build ***"

echo "Peforming core build skipping tests"
$MAVEN_HOME/bin/mvn -Dmaven.repo.local=$M2_REPO -U -s $WORKSPACE/build-support/settings.xml install -Dmaven.test.skip=true

echo "Peforming integ build"
cd integration-tests && $MAVEN_HOME/bin/mvn -Dmaven.repo.local=$M2_REPO -U -s $WORKSPACE/build-support/settings.xml test

Something went wrong with that request. Please try again.