diff --git a/Jenkinsfile b/Jenkinsfile index 90f1445..49891ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,14 @@ * * SPDX-License-Identifier: AGPL-3.0-only */ +library( + identifier: 'jenkins-lib-common@v4.10.0', + retriever: modernSCM([ + $class: 'GitSCMSource', + remote: 'git@github.com:zextras/jenkins-lib-common.git', + credentialsId: 'jenkins-integration-with-github-account' + ]) +) // Package utils String getPackageName() { @@ -42,6 +50,8 @@ String nodeVersion // PROJECT DETAILS String pkgName +properties(defaultPipelineProperties()) + pipeline { agent { node { @@ -55,6 +65,7 @@ pipeline { options { timeout(time: 20, unit: 'MINUTES') buildDiscarder(logRotator(numToKeepStr: '50')) + disableConcurrentBuilds() } post { always { @@ -222,4 +233,3 @@ pipeline { } } } -