Skip to content

Commit 4a2ee83

Browse files
committed
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.
1 parent 888e6c7 commit 4a2ee83

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper
1313
/*
1414
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
1515
*/
16-
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
16+
@Library('hibernate-jenkins-pipeline-helpers') _
1717
import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
1818

1919
@Field final String DEFAULT_JDK_VERSION = '17'

ci/jpa-3.2-tck.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
1+
@Library('hibernate-jenkins-pipeline-helpers') _
22

33
// Avoid running the pipeline on branch indexing
44
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {

ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/*
1010
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
1111
*/
12-
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
12+
@Library('hibernate-jenkins-pipeline-helpers') _
1313

1414
import org.hibernate.jenkins.pipeline.helpers.version.Version
1515

ci/snapshot-publish.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
33
*/
4-
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
4+
@Library('hibernate-jenkins-pipeline-helpers') _
55

66
// Avoid running the pipeline on branch indexing
77
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {

nightly.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper
1313
/*
1414
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
1515
*/
16-
@Library('hibernate-jenkins-pipeline-helpers@1.18') _
16+
@Library('hibernate-jenkins-pipeline-helpers') _
1717
import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
1818

1919
@Field final String DEFAULT_JDK_VERSION = '17'

0 commit comments

Comments
 (0)