diff --git a/Jenkinsfile b/Jenkinsfile index fd0a8a9..d05b340 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', @@ -22,6 +22,7 @@ pipeline { options { buildDiscarder(logRotator(numToKeepStr: '5')) + disableConcurrentBuilds() parallelsAlwaysFailFast() skipDefaultCheckout() timeout(time: 6, unit: 'HOURS') @@ -31,9 +32,7 @@ pipeline { stage('Setup') { steps { checkout scm - script { - gitMetadata() - } + gitMetadata() } } @@ -56,15 +55,11 @@ pipeline { } stage('Upload artifacts') { - when { - expression { return uploadStage.shouldUpload() } - } tools { jfrog 'jfrog-cli' } steps { uploadStage( - packages: yapHelper.resolvePackageNames(), ubuntuSinglePkg: true, ) }