reduce Jenkins worker to 2 CPUs and 2 GB RAM

This commit is contained in:
Michael Hoennig 2024-11-23 12:55:12 +01:00
parent 35d179cd95
commit df2606c892

5
Jenkinsfile vendored
View File

@ -3,8 +3,9 @@ pipeline {
dockerfile { dockerfile {
filename 'etc/jenkinsAgent.Dockerfile' filename 'etc/jenkinsAgent.Dockerfile'
// additionalBuildArgs ... // additionalBuildArgs ...
args '--network=bridge --user root -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock --group-add 984' args '--network=bridge --user root -v $PWD:$PWD \
reuseNode true -v /var/run/docker.sock:/var/run/docker.sock --group-add 984 \
--memory=2g --cpus=2'
} }
} }