[Git][qa/jenkins.debian.net][master] reproducible_build.sh: try harder to fork independent workers

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Mar 5 00:08:55 GMT 2024



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7fbbfed1 by Holger Levsen at 2024-03-05T01:08:32+01:00
reproducible_build.sh: try harder to fork independent workers

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_build_service.sh


Changes:

=====================================
bin/reproducible_build_service.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright © 2017-2023 Holger Levsen (holger at layer-acht.org)
+# Copyright © 2017-2024 Holger Levsen (holger at layer-acht.org)
 # released under the GPLv2
 
 set -e
@@ -181,7 +181,7 @@ startup_workers() {
 				BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$WORKER_NAME
 				mkdir -p $BUILD_BASE
 				echo "$(date --utc) - Starting $WORKER_NAME"
-				$WORKER_BIN $WORKER_NAME $NODE1 $NODE2 >$BUILD_BASE/worker.log 2>&1 &
+				( setsid $WORKER_BIN $WORKER_NAME $NODE1 $NODE2 >$BUILD_BASE/worker.log 2>&1 & )
 			fi
 		done
 	done



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7fbbfed1c6ce4859fd2e670d38644fe934fa76ac

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7fbbfed1c6ce4859fd2e670d38644fe934fa76ac
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20240305/641b895b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list