Skip to content

Document creating jobs in nested folders with Job DSL#2854

Merged
timja merged 3 commits into
jenkinsci:masterfrom
somiljain2006:Folder-setup
Jun 21, 2026
Merged

Document creating jobs in nested folders with Job DSL#2854
timja merged 3 commits into
jenkinsci:masterfrom
somiljain2006:Folder-setup

Conversation

@somiljain2006

@somiljain2006 somiljain2006 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #2529

Document how Job DSL files loaded through the file: directive create jobs within Jenkins folders and clarify that files are evaluated as Job DSL scripts rather than raw Declarative Pipeline definitions. Add an example showing nested folder creation and job placement using path-based job names, and add a regression test verifying that jobs defined through JCasC can be successfully created inside nested folder hierarchies.

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side) and not your master branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or in Jenkins JIRA
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Did you provide a test case? That demonstrates a feature works or fixes the issue.

@somiljain2006
somiljain2006 requested a review from a team as a code owner June 20, 2026 18:56
Comment thread docs/user/seed-jobs.md Outdated
Comment thread demos/jobs/README.md Outdated
somiljain2006 and others added 2 commits June 21, 2026 13:40
@somiljain2006
somiljain2006 requested a review from timja June 21, 2026 09:42
@timja timja added the documentation A PR that adds to documentation - used by Release Drafter label Jun 21, 2026
@timja
timja merged commit 2fda616 into jenkinsci:master Jun 21, 2026
17 checks passed
@somiljain2006
somiljain2006 deleted the Folder-setup branch June 21, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation A PR that adds to documentation - used by Release Drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jenkins CASC Folder Syntax: How to organise pipelinescript-defined job files into folders?

2 participants