From df2606c892d59e4561e32e3839f06e8fcba16f8d Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sat, 23 Nov 2024 12:55:12 +0100 Subject: [PATCH] reduce Jenkins worker to 2 CPUs and 2 GB RAM --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dc466d28..07d8f0ba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }