call jobdsl from library

parent 69c15bc5
...@@ -5,7 +5,7 @@ def call(String filepath) { ...@@ -5,7 +5,7 @@ def call(String filepath) {
// targets: ['var/jobs.groovy'].join('\n'), // targets: ['var/jobs.groovy'].join('\n'),
// ]) // ])
stage('build dsl jobs') { stage('build dsl jobs') {
jobDsl targets: 'jobs.groovy' jobDsl targets: ['jobs.groovy'].join('\n')
} }
} }
} }
\ 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