Skip to content

Commit

Permalink
build-0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadbyte committed Feb 18, 2017
1 parent 2c6963a commit ba4b4d0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,16 @@ echo "HOME=$HOME" ## /home/travis
echo "TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR" ## $HOME/build/<user>/<repo>
pwd

tar czvf $TRAVIS_BUILD_DIR/release.tar.gz .travis.yml scripts/
wget https://github.com/rjperrella/jenkins-fossil-adapter/archive/master.tar.gz --output-document source.tar.gz
mkdir source && tar xvf source.tar.gz --strip-components=1 -C source
rm -rf source.tar.gz
cd source

cd fossil
mvn clean verify

ls -al $TRAVIS_BUILD_DIR/source/fossil/target

cd $TRAVIS_BUILD_DIR/source/fossil/target
tar czvf $TRAVIS_BUILD_DIR/release.tar.gz fossil.jar fossil.hpi

0 comments on commit ba4b4d0

Please sign in to comment.