-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: job-dsl-plugin
-
Environment:Jenkins=2.32.3
Jobdsl=1.63
Folders=6.0.4
CredentialsPlugin=2.1.13
-
job-dsl-plugin 1.78, job-dsl-plugin 1.80
When using job-dsl-plugin to create a folderÂ
folder(my_folder) {Â
 displayname("my_folder_name")
}
If the folder exists with Credentials attached to it, they are lost on recreation
 . Is there anyway to wrap this in a conditional? if!(folder(my_folder) {blah..blah....}.  I believe the desired behaviour here is to not blow away the credentials attached at the folder level.
Â
Â
- is related to
-
JENKINS-57435 Cannot configure SSH credentials via Job DSL
-
- Resolved
-