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
# 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 |
NewerOlder