forked from samrocketman/jenkins-bootstrap-shared
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.sh
More file actions
13 lines (11 loc) · 580 Bytes
/
env.sh
File metadata and controls
13 lines (11 loc) · 580 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#sane defaults
export JENKINS_WAR="${JENKINS_WAR:-jenkins.war}"
export JENKINS_HOME="${JENKINS_HOME:-../my_jenkins_home}"
export JENKINS_START="${JENKINS_START:-java -Xms4g -Xmx4g -XX:MaxPermSize=512M -jar ${JENKINS_WAR}}"
export JENKINS_WEB="${JENKINS_WEB:-http://localhost:8080}"
export jenkins_url="${jenkins_url:-http://mirrors.jenkins-ci.org/war/latest/jenkins.war}"
if [ -d 'jenkins-bootstrap-shared' ]; then
export SCRIPT_LIBRARY_PATH="${SCRIPT_LIBRARY_PATH:-./jenkins-bootstrap-shared/scripts}"
else
export SCRIPT_LIBRARY_PATH="${SCRIPT_LIBRARY_PATH:-./scripts}"
fi