1.60 version has been released to fix some security issues. You can find further details:
https://groups.google.com/forum/m/#!topic/job-dsl-plugin/lYgX3boW0Pk
https://groups.google.com/forum/m/#!topic/job-dsl-plugin/t3QNtnxqNno
Cheers
Yes, I know about the security issues and the new 1.60 version. Unfortunately that version breaks things for me - which forces me to downgrade to 1.58 so that I can run my scripts.
I haven't tried if the problem got introduced in 1.60 or in 1.59, but it definitely didn't exist in 1.58.
--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/86e44f74-3daf-4361-8a01-2aa6714be5ab%40googlegroups.com.
I read the migration page before I did the upgrade. Now that I know the details I can see that it talks that importing code is no longer possible. For someone who only occasionally deals with Jenkins/Job DSL/Groovy however it could be worded more clearly. Maybe it would be possible to explicitly mention in the migration doc that importing code is no longer possible.
And it would be good to update https://github.com/jenkinsci/job-dsl-plugin/wiki/Real-World-Examples#import-other-files-ie-with-class-definitions-into-your-script - this has still the old information.
Thanks,
Eberhard
You received this message because you are subscribed to a topic in the Google Groups "job-dsl-plugin" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/job-dsl-plugin/pJQkPx0fuA8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/CAKqW32CFv8J1x1N2CFxLH4_Ews2vvrv28uPVOuufBXQVTnTdPg%40mail.gmail.com.
I guess calling it a feature is an option :-)
I read the migration page before I did the upgrade. Now that I know the details I can see that it talks that importing code is no longer possible. For someone who only occasionally deals with Jenkins/Job DSL/Groovy however it could be worded more clearly. Maybe it would be possible to explicitly mention in the migration doc that importing code is no longer possible.
And it would be good to update https://github.com/jenkinsci/job-dsl-plugin/wiki/Real-World-Examples#import-other-files-ie-with-class-definitions-into-your-script - this has still the old information.
Thanks,
Eberhard
Daniel Spilker <m...@daniel-spilker.com> wrote on 2017-04-11 at 20:44 +0200:
It's not a problem, it's a feature that has been introduced in 1.60. Importing code into DSL scripts not possible if script security is enabled. And script security is enabled by default. See https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#migrating-to-160 for details.Daniel
On Tue, Apr 11, 2017 at 7:05 PM, Eberhard Beilharz <e...@sil.org> wrote:
Yes, I know about the security issues and the new 1.60 version. Unfortunately that version breaks things for me - which forces me to downgrade to 1.58 so that I can run my scripts.
I haven't tried if the problem got introduced in 1.60 or in 1.59, but it definitely didn't exist in 1.58.
--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/86e44f74-3daf-4361-8a01-2aa6714be5ab%40googlegroups.com.