Skip to content

Commit

Permalink
Add ci build script for 0.8.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Oct 5, 2015
1 parent 641dd47 commit d69a6ed
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions support/bees-ci-build.sh
@@ -0,0 +1,36 @@
#!/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
}

export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"

mark "Starting build script"
java -version
mvn -version
git clean -fd

mark "Cleaning"
mvn -B clean

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

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

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

0 comments on commit d69a6ed

Please sign in to comment.