Hi Simon, 

 A few suggestions in case you haven't checked them  yet:

  - 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?
  
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/09c289c7-eaaa-495f-9fbf-e49ae96430aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to