Create jenknis slave root FS
This commit is contained in:
parent
d7cf130dc9
commit
b1e703c333
2 changed files with 8 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<slave>
|
||||
<name>{{ item.name }}</name>
|
||||
<description>{{ item.description }}</description>
|
||||
<remoteFS>'./jenkins-slave</remoteFS>
|
||||
<remoteFS>/srv/jenkins</remoteFS>
|
||||
<numExecutors>1</numExecutors>
|
||||
<mode>NORMAL</mode>
|
||||
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
|
||||
|
|
|
@ -23,3 +23,10 @@
|
|||
- jenkins
|
||||
- jenkins/slave
|
||||
- config
|
||||
|
||||
- name: create workspace directory
|
||||
action: file state=directory path=/srv/jenkins owner=jenkins group=jenkins
|
||||
tags:
|
||||
- jenkins
|
||||
- jenkins/slave
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue