Describe your use-case which is not covered by existing documentation.
I have the following Jenkins CASC syntax which works well to create folders in the Jenkins U.I.
.
.
.
jenkins:
securityRealm:
local:
allowsSignup: false
users:
# create a user called admin
- id: "admin"
password: "admin"
authorizationStrategy: loggedInUsersCanDoAnything
#numExecutors: 1
#Job Definitions using job-dsl plugin
jobs:
- script: folder('Non-Production-CAF/bootstrap')
- file: /usr/local/bootstrap-levels-test-nprd.groovy
However I can find nothing in the Jenkins CASC docs on how to simply organise these jobs (defined by groovy declarative pipelinescript) into folders. I have tried this:
But the pipelinescript groovy "bootstrap-levels-nprd.groovy" is not interpreted and instantiated as a job in the folder "Non-Production-CAF/bootstrap/".
Does the folder plugin CASC support this ?
If so please can we have a documentation example for exactly this case?
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
Describe your use-case which is not covered by existing documentation.
I have the following Jenkins CASC syntax which works well to create folders in the Jenkins U.I.
However I can find nothing in the Jenkins CASC docs on how to simply organise these jobs (defined by groovy declarative pipelinescript) into folders. I have tried this:
But the pipelinescript groovy "bootstrap-levels-nprd.groovy" is not interpreted and instantiated as a job in the folder "Non-Production-CAF/bootstrap/".
Does the folder plugin CASC support this ? If so please can we have a documentation example for exactly this case?
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.