Created
July 28, 2015 13:35
-
-
Save frbayart/fd2a5d119b1a72781b95 to your computer and use it in GitHub Desktop.
build rudder projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
INSTALL_DIR=$(pwd) | |
export MAVEN_OPTS=-Xmx512m | |
for rudderProject in rudder-parent-pom rudder-commons scala-ldap ldap-inventory cf-clerk rudder rudder-plugin-itop; do | |
tput setaf 2 | |
echo "Building ${rudderProject}." | |
tput sgr0 | |
cd ${INSTALL_DIR} | |
git clone https://github.com/Normation/${rudderProject}.git | |
cd ${rudderProject} | |
git checkout branches/rudder/3.0 | |
mvn -Dmaven.test.skip=true install | |
if [[ $rudderProject == "rudder" ]]; then mvn -Dmaven.test.skip=true package; fi | |
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment