agent now running as user jeknins
This commit is contained in:
parent
a88e8f2ce0
commit
da30407385
1 changed files with 2 additions and 2 deletions
|
@ -26,5 +26,5 @@ chown -R jenkins:jenkins "${CCACHE_PATH}"
|
|||
|
||||
# TODO(kuhnel): wipe the disk(s) on startup
|
||||
|
||||
# start ssh server
|
||||
java -jar /scripts/swarm-client.jar -master http://jenkins-ui.jenkins.svc.cluster.local:8080 -executors 1
|
||||
# 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"
|
Loading…
Reference in a new issue