1
0
Fork 0

changed jenkins agent root folder

This commit is contained in:
Christian Kühnel 2019-10-16 12:02:41 +02:00
parent b67aeb4714
commit 8de4cb0e2e

View file

@ -27,4 +27,5 @@ chown -R jenkins:jenkins "${CCACHE_PATH}"
# TODO(kuhnel): wipe the disk(s) on startup
# 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}"