-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins:2.89
config-file-provider:2.17
job-dsl-plugin:1.66
I'm getting an error when I'm executing my dsl scripts after upgrading config-file-provider to version 2.17.
Steps to reproduce this error:
- Create a Freestyle project
- Add a Build Step: Process Job DSLs
- Use the provided DSL Script (dummy for this example):
configFiles { customConfig { id('123456789') name('Old_Config_File') comment('This is a comment.') content('My Content') providerId('') } }
After save and build the job, I get this error:
Processing provided DSL script ERROR: Found multiple extensions which provide method customConfig with arguments [script$_run_closure1$_closure2@830385b]: [[org.jenkinsci.plugins.configfiles.custom.CustomConfig, org.jenkinsci.plugins.configfiles.custom.CustomConfig]] Finished: FAILURE
If I use config-file-provider:2.16.4, this job finish SUCCESS
Could it be a regression or do I have to make changes in my script?
- links to