changed jenkins agent root folder
This commit is contained in:
parent
b67aeb4714
commit
8de4cb0e2e
1 changed files with 2 additions and 1 deletions
|
@ -27,4 +27,5 @@ chown -R jenkins:jenkins "${CCACHE_PATH}"
|
||||||
# TODO(kuhnel): wipe the disk(s) on startup
|
# TODO(kuhnel): wipe the disk(s) on startup
|
||||||
|
|
||||||
# start swarm agent as user jenkins
|
# start swarm agent as user jenkins
|
||||||
su jenkins -c "java -jar /scripts/swarm-client.jar -master http://jenkins-ui.jenkins.svc.cluster.local:8080 -executors 1"
|
# description of arguments: https://wiki.jenkins.io/display/JENKINS/Swarm+Plugin
|
||||||
|
su jenkins -c "java -jar /scripts/swarm-client.jar -master http://jenkins-ui.jenkins.svc.cluster.local:8080 -executors 1 -fsroot ${AGENT_ROOT}"
|
||||||
|
|
Loading…
Reference in a new issue