job-dsl-gradle-example
job-dsl-plugin
Our great sponsors
job-dsl-gradle-example | job-dsl-plugin | |
---|---|---|
2 | 5 | |
439 | 1,875 | |
- | 0.7% | |
0.0 | 7.9 | |
almost 2 years ago | 2 months ago | |
Groovy | Groovy | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
job-dsl-gradle-example
-
Jenkins as code, part 2: Setting up the Jenkins job
Yeah I've tried with the later approach days ago and make it work today, thanks to this helpful repo: https://github.com/sheehan/job-dsl-gradle-example :D
-
CMV: Jenkins shouldn't be anywhere near a robust, mature application environment
Have a look at https://github.com/sheehan/job-dsl-gradle-example it's a nice example that even allows you to test your job configuration.
job-dsl-plugin
-
How does Jenkins 'understand' jenkinsfile syntax?
In declarative syntax, it uses the various DSL plugins to parse and interpret the file.
-
Jenkins as code, part 2: Setting up the Jenkins job
Hi Werner, we use the same approach as you in our team and come across a not-too-small problem -> we can't evaluate the DSL without the seed job. To be clear, we've put all the DSL job script inside one git repo then the seed job will seed it, anyone who want to add a new job need to create a pull request in the dsl-job repo but the problem here is we can't evaluate the PR without merge to the master brand (the seed job only run with the master branch) -> we want to add a check here before the PR is merged but still stuck with it, the job DSL plugin doesn't support a dry-run mode https://github.com/jenkinsci/job-dsl-plugin/pull/395. Do you have any ideas on it?
I've used to stuck with the Dynamic DSL as it does not natively support unit test so I have to replace all Dynamic DSL with the configure block, ugly but work!
What are some alternatives?
ods-jenkins-shared-library - Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
pipeline-library - Collection of custom steps and variables for our Jenkins instance(s)
configuration-as-code-plugin - Jenkins Configuration as Code Plugin
jira-trigger-plugin - Triggers a build when a certain condition is matched in JIRA
S3-Upload-JMeter-Groovy - Upload files to AWS S3 in JMeter using Groovy
jenkins-script-console-scripts - A repository of one-off script console scripts for Jenkins.
artifact-manager-s3-plugin - Artifact manager implementation for Amazon S3
jervis - Self service Jenkins job generation using Jenkins Job DSL plugin groovy scripts. Reads .jervis.yml and generates a job in Jenkins.
Apollo - Genome annotation editor with a Java Server backend and a Javascript client that runs in a web browser as a JBrowse plugin.