Use the version of hibernate-jenkins-pipeline-helpers configured on CI
Don't configure the version in Jenkinsfile so that it's easier to upgrade next time. See https://ci.hibernate.org/manage/configure#global-untrusted-pipeline-libraries to change the (default) version globally for all projects.
This commit is contained in:
parent
888e6c77b7
commit
4a2ee83d0c
|
@ -13,7 +13,7 @@ import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper
|
|||
/*
|
||||
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
|
||||
*/
|
||||
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
|
||||
@Library('hibernate-jenkins-pipeline-helpers') _
|
||||
import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
|
||||
|
||||
@Field final String DEFAULT_JDK_VERSION = '17'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
|
||||
@Library('hibernate-jenkins-pipeline-helpers') _
|
||||
|
||||
// Avoid running the pipeline on branch indexing
|
||||
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/*
|
||||
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
|
||||
*/
|
||||
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
|
||||
@Library('hibernate-jenkins-pipeline-helpers') _
|
||||
|
||||
import org.hibernate.jenkins.pipeline.helpers.version.Version
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
|
||||
*/
|
||||
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
|
||||
@Library('hibernate-jenkins-pipeline-helpers') _
|
||||
|
||||
// Avoid running the pipeline on branch indexing
|
||||
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper
|
|||
/*
|
||||
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
|
||||
*/
|
||||
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
|
||||
@Library('hibernate-jenkins-pipeline-helpers') _
|
||||
import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
|
||||
|
||||
@Field final String DEFAULT_JDK_VERSION = '17'
|
||||
|
|
Loading…
Reference in New Issue