-
Bug
-
Resolution: Fixed
-
Major
-
None
After upgrading to latest Job DSL v1.55 and Config File Provider v2.15.1, getting the following error:
Input Job DSL:
customConfigFile('dslConfigFile') { content('test file') } job('test-job') { wrappers { configFiles { file('dslConfigFile') { targetLocation('/root/configFile') } } } steps { shell('true') } }
Output:
ERROR: (script, line 8) Custom config file with name 'dslConfigFile' not found
Alternatives Tried:
- Read existing config file with name
- Provide config file to seed job workspace, and use the above customConfigFile with readFileFormWorkspace
None of the above works. Please let me know if I'm doing something wrong...
- is related to
-
JENKINS-39769 update to latest config-file-provider
- Closed