Skip to content

Commit

Permalink
Move ci build to script.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Jul 24, 2015
1 parent f365313 commit 3dc6897
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions support/bees-ci-build.sh
@@ -0,0 +1,30 @@
#!/bin/bash

# This is the bees CI build. Any changes to the build script should be
# here instead if in the bees config.

set -e

DIR=$( cd "$( dirname "$0" )" && pwd )

function mark {
echo
echo "=============================================="
echo $1
date
echo "=============================================="
echo
}

java -version
mvn -version
git clean -fd

mark "Cleaning"
mvn -B clean

mark "Reversioning"
mvn -B versions:set -DnewVersion=1.x.incremental.${BUILD_NUMBER}

mark "Building"
mvn -B -s ${SETTINGS_FILE} -Pbees install deploy

0 comments on commit 3dc6897

Please sign in to comment.