-
Bug
-
Resolution: Fixed
-
Major
-
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
-
i have a job that creates jobs in a tree, like:
foo/bar/baz/job-1
foo/bar/baz/job-2
etc
and i placed creds at the foo folder level, but every time i create another foo/bar/baz/job-x it blows away the creds at the foo folder!
not expected behavior and kind of a hassle to work around, i agree with folks on this thread that think that creds at existing folders should not be effected in this way...