I have a groovy file, I want to run from the Jenkinsfile.
ie. load script.groovy
load script.groovy
However, I am not sure how I can reference this file if it is store
This should work
load "${WORKSPACE}/../${JOB_NAME}@script/esb_deploy/esb_deploybar_pipeline/deploy_esb.groovy"