From 783118944874d559e30eea1600352e3feb5263a7 Mon Sep 17 00:00:00 2001
From: Andreas Wacknitz <A.Wacknitz@gmx.de>
Date: Sun, 31 Mar 2024 09:35:05 +0200
Subject: [PATCH] libcares: update to 1.28.0

---
 tools/jenkinshelper.ksh |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/tools/jenkinshelper.ksh b/tools/jenkinshelper.ksh
index fbaa3e0..1879dd6 100755
--- a/tools/jenkinshelper.ksh
+++ b/tools/jenkinshelper.ksh
@@ -3,7 +3,7 @@
 # 2021-11-30 Till Wegmueller <toasterson@gmail.com>
 # instead of putting all this into the Jenkinsfile I decided to put the actual code in this script
 
-set -x
+set -ex
 
 # global config
 HTTPCONF="/etc/apache2/2.4/conf.d/pkgdepotd.conf"
@@ -55,14 +55,19 @@
 # we try to be smart and assume that all updates will always touch
 # the components Makefile also (to update COMPONENT_REVISION, etc)
 stage_build_changed() {
-	for f in $(git diff --name-only HEAD..origin/oi/hipster | grep Makefile); do
+	worst=0
+	for f in $(git diff --name-only HEAD..origin/oi/hipster | grep Makefile; exit 0); do
 		echo "jenkinshelper: building for ${f%/*}..."
 		curpwd=$(pwd)
-		cd "${f%/*}" && gmake publish
+		cd "${f%/*}" && gmake clean && gmake PARALLEL_JOBS=$(psrinfo -t -c) publish
 		rc=$?
 		cd "${curpwd}"
 		echo "jenkinshelper: done with ${f%/*} return code ${rc}"
+		if [ rc -ne 0 ] ; then
+			worst=$rc
+		fi
 	done
+	return $worst
 }
 
 # prepare the pkg.depotd server instance, if an instance already

--
Gitblit v1.9.3