added label for linux container
This commit is contained in:
parent
a78d0ff99c
commit
11f4c9c525
1 changed files with 1 additions and 1 deletions
|
@ -28,4 +28,4 @@ chown -R jenkins:jenkins "${CCACHE_PATH}"
|
|||
|
||||
# start swarm agent as user jenkins
|
||||
# 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}"
|
||||
su jenkins -c "java -jar /scripts/swarm-client.jar -master http://jenkins-ui.jenkins.svc.cluster.local:8080 -executors 1 -fsroot ${AGENT_ROOT} -labels linux"
|
||||
|
|
Loading…
Reference in a new issue