From 3db7f93cf65e719a5ba8875fa47a430fc255a43f Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 12 Jun 2026 11:25:49 +0200 Subject: [PATCH 1/2] ci: update jenkins-lib-common to v2.11.2 - Bump library version to v2.11.2 - Remove deprecated 'packages' param from uploadStage (now resolved internally) - Remove uploadStage.shouldUpload() when-guard (now internal) - Move gitMetadata() out of script block to top-level step --- Jenkinsfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fd0a8a9..7ab9b24 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ // SPDX-License-Identifier: AGPL-3.0-only library( - identifier: 'jenkins-lib-common@1.1.2', + identifier: 'jenkins-lib-common@v2.11.2', retriever: modernSCM([ $class: 'GitSCMSource', credentialsId: 'jenkins-integration-with-github-account', @@ -31,9 +31,7 @@ pipeline { stage('Setup') { steps { checkout scm - script { - gitMetadata() - } + gitMetadata() } } @@ -56,15 +54,11 @@ pipeline { } stage('Upload artifacts') { - when { - expression { return uploadStage.shouldUpload() } - } tools { jfrog 'jfrog-cli' } steps { uploadStage( - packages: yapHelper.resolvePackageNames(), ubuntuSinglePkg: true, ) } From 50eb0c899121206ac9357e74d06a003015c99c0e Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 12 Jun 2026 11:32:23 +0200 Subject: [PATCH 2/2] ci: disable concurrent builds --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7ab9b24..d05b340 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,6 +22,7 @@ pipeline { options { buildDiscarder(logRotator(numToKeepStr: '5')) + disableConcurrentBuilds() parallelsAlwaysFailFast() skipDefaultCheckout() timeout(time: 6, unit: 'HOURS')