Correct job helper import
This commit is contained in:
parent
1235a6e3c7
commit
9adc0f2e04
|
@ -1,4 +1,8 @@
|
||||||
|
/*
|
||||||
|
* See https://github.com/hibernate/hibernate-jenkins-pipeline-helpers
|
||||||
|
*/
|
||||||
@Library('hibernate-jenkins-pipeline-helpers@1.5') _
|
@Library('hibernate-jenkins-pipeline-helpers@1.5') _
|
||||||
|
import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
|
||||||
|
|
||||||
// Avoid running the pipeline on branch indexing
|
// Avoid running the pipeline on branch indexing
|
||||||
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
|
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
|
||||||
|
|
Loading…
Reference in New Issue