Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: job-dsl-plugin
-
Labels:
-
Environment:Jenkins=2.32.3
Jobdsl=1.63
Folders=6.0.4
CredentialsPlugin=2.1.13
-
Similar Issues:
Description
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.
Attachments
Issue Links
- is related to
-
JENKINS-57435 Cannot configure SSH credentials via Job DSL
-
- Open
-
Same issue here - its makes hard in our use case to manage auto-creation of folders and jobs. I would also favor an update/merge strategy instead of a hard override.