docker-custom-build-env: Add support for new options

Change-Id: I9482d2e3c98cf8058d5689cd688b8cc489bbb016
Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
Signed-off-by: Anil Belur <askb23@gmail.com>
This commit is contained in:
tanhengyeow
2018-09-17 22:26:06 +08:00
committed by Anil Belur
parent 4d5397c496
commit 55310657f0
4 changed files with 12 additions and 0 deletions

View File

@@ -15,6 +15,8 @@
<group>jenkins</group>
<command>/bin/cat</command>
<net>bridge</net>
<memory>memory=L&lt;inf, memory-swap=inf</memory>
<cpu>2</cpu>
</com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
</buildWrappers>
</project>

View File

@@ -8,3 +8,5 @@ wrappers:
group: jenkins
command: /bin/cat
net: bridge
memory-limit: memory=L<inf, memory-swap=inf
cpu-shares: 2

View File

@@ -28,6 +28,8 @@
<group/>
<command>/bin/cat</command>
<net>bridge</net>
<memory/>
<cpu/>
</com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
</buildWrappers>
</project>