-
Notifications
You must be signed in to change notification settings - Fork 829
Jenkins Job DSL Architecture
The DSL scripts are executed in the context of a JobParent that adds a "job" function to define individual jobs. It'll create a Job instance that has DSL methods to support the job being configured. Both JobParent and Job will defer to an instance of JobManagement to load and save a Jenkin's config.xml. DslScriptLoader will setup and execute DSL scripts with a provided JobManagement instance. FileJobManagement is an implementation to load/save configs from the filesystem. While when the plugin is running from ExecuteDslScripts, it creates a JobManagement instance which calls back into Jenkins. The primary entry point of the plugin is ExecuteDslScripts, who is responsible for consuming the "seed" job's definition of where the DSL files are. As it finds dsl files, it sets up a JobManagement instance and calls DslScriptLoader.
Stack Overflow | Mailing List | API Reference | Issue Tracker | Playground | Plugin | Wiki | GitHub
Home
Release Notes
Migration
Talks and Blog Posts
Documentation
Tutorial
Dynamic DSL
Configure Blocks
Job DSL Commands
Script Security
Handling Credentials
Configuration as Code
FAQ
Real World Examples
User Power Moves
IDE Support
Testing DSL Scripts
For Developers
Extending the DSL
Job DSL Architecture