call jobdsl from library

parent 533310fb
def call(String filepath) {
node {
step([
$class: 'ExecuteDslScripts',
targets: ['var/jobs.groovy'].join('\n'),
])
// step([
// $class: 'ExecuteDslScripts',
// 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