Anything interesting in Old Data Monitor saying something cannot be loaded?
On 15.09.2015, at 13:25, Simon Haegler <[email protected]> wrote: > - 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? > > doh, thanks for reminding me to check the actual XML ;-) > interestingly, the groovy build step is actually created in the XML, but not > displayed by the job UI: > ... > <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> > ... > > > i increased the log verbosity but could not (yet) spot any issues during > configuration page loading... i'll keep trying. > > best, > simon > > > > Cheers > > On Monday, 14 September 2015 19:57:39 UTC+2, Simon Haegler wrote: > apologies, forgot the versions: > - jenkins 1.609.3 > - job dsl plugin 1.38 > - groovy plugin 1.27 > > On Monday, 14 September 2015 19:54:47 UTC+2, Simon Haegler wrote: > hi jenkins users, > > i am working on our in-house 3rd-party dependency build system and ran into > an issue that the JOB DSL statement "groovyScriptFile" does not create the > corresponding build step. here is the relevant snippet from the seed job > groovy script: > > steps { > groovyScriptFile("${scriptPath}/${pkg.name}-${pkg.version}-build.groovy") { > groovyInstallation('groovy-2.4.4') > classpath(SCRIPT_REPO.basePath) > } > maven { > // ... > } > } > > > the seed job runs fine and there is no error: > > 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 > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0c621590-feca-45fc-9788-448be8145ec1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7F4A2041-464F-48B6-8B30-22D999D779AA%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
