call jobdsl from library

parent 533310fb
def call(String filepath) { def call(String filepath) {
node { node {
step([ // step([
$class: 'ExecuteDslScripts', // $class: 'ExecuteDslScripts',
targets: ['var/jobs.groovy'].join('\n'), // targets: ['var/jobs.groovy'].join('\n'),
]) // ])
stage('build dsl jobs') {
jobDsl targets: 'jobs.groovy'
}
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment