Skip to content

Instantly share code, notes, and snippets.

View alexandrebodin's full-sized avatar

Alexandre BODIN alexandrebodin

View GitHub Profile
@alexandrebodin
alexandrebodin / script.sh
Last active August 29, 2015 14:08
jenkins configuration
# Move into the jenkins directory
cd /var/lib/jenkins
#test config params
[ -z "$jenkins_config_repo" ] && echo "Need to set jenkins_config_repo" && exit 1
[ -z "$jenkins_email" ] && echo "Need to set jenkins_email" && exit 1
#test if init necessary
if [ ! -d ".git" ];
then