steps {
groovyScriptFile("${scriptPath}/${pkg.name}-${pkg.version}-build.groovy") {
groovyInstallation('groovy-2.4.4')
classpath(SCRIPT_REPO.basePath)
}
maven {
// ...
}
}
Processing DSL script boost_dsl.groovy
Adding items:
GeneratedJob{name='boost-1.59.0-osx1010-ac610-x86_64'}
Finished: SUCCESS
but the created job does not contain the expected "execute groovy script file" build step, just the maven step.
any ideas? e.g. how to increase log verbosity of the JOB DSL?
TIA,
simon
- Play area: http://job-dsl.herokuapp.com/- Docs refererence: https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.step.StepContext.groovyScriptFile- Can you check your config.xml file? %YOUR_JENKINS_URL%/jobs/boost-1.59.0-osx1010-ac610-x86_64/config.xml How does it look like?
...
<builders> <hudson.plugins.groovy.Groovy>
<!-- this step does NOT show up in the UI --> <groovyName>groovy-2.4.4</groovyName> <parameters/> <scriptParameters/> <javaOpts/> <classPath>${WORKSPACE}/build_support.git/thirdparty</classPath> <scriptSource class="hudson.plugins.groovy.FileScriptSource"> <scriptFile>${WORKSPACE}/build_support.git/thirdparty/boost/boost-1.59.0-build.groovy</scriptFile> </scriptSource> <properties/> </hudson.plugins.groovy.Groovy> <hudson.tasks.Maven>
<!-- this step shows up in the UI --> </hudson.tasks.Maven>
</builders>...
Anything interesting in Old Data Monitor saying something cannot be loaded?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c921fc56-76d8-4a14-9bbe-438a4d660d15%40googlegroups.com.