-
Bug
-
Resolution: Fixed
-
Major
-
None
-
job-dsl: v1.53
config-file-provider: v2.13
Config provider files cannot be created with a constant ID via the Job DSL. This is a problem as the Config provider Pipeline step only accepts ID's as a reference, which are dynamically generated by the Job DSL.
configFileProvider( [configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { sh 'mvn -s $MAVEN_SETTINGS clean package' }
The Job DSL should allow specifying a custom/static ID when creating a new Config provider file (just as we can when creating Config provider files through the UI)