Relative Content

Tag Archive for jenkinsjenkins-pipelinejenkins-groovy

How to load vars files in Jenkins pipeline?

I have created several vars files to be used by one declarative pipeline. There is no src files required and they are working fine with the Load implicitly parameter of the Global Pipeline Libraries section checked.
However, I want to know how to reference them in the pipeline to avoid them being loaded in other pipelines.