reduce Jenkins worker to 2 CPUs and 2 GB RAM
This commit is contained in:
parent
35d179cd95
commit
df2606c892
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -3,8 +3,9 @@ pipeline {
|
||||
dockerfile {
|
||||
filename 'etc/jenkinsAgent.Dockerfile'
|
||||
// additionalBuildArgs ...
|
||||
args '--network=bridge --user root -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock --group-add 984'
|
||||
reuseNode true
|
||||
args '--network=bridge --user root -v $PWD:$PWD \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock --group-add 984 \
|
||||
--memory=2g --cpus=2'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user