jenkins-script-console-scripts
job-dsl-plugin
Our great sponsors
jenkins-script-console-scripts | job-dsl-plugin | |
---|---|---|
8 | 5 | |
419 | 1,831 | |
- | 0.3% | |
0.0 | 7.3 | |
5 months ago | 4 days ago | |
Groovy | Groovy | |
MIT License | 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.
jenkins-script-console-scripts
- Pipeline metrics help
-
What is the best course/courses to learn pipeline as code with Groovy and Jenkins
Groovy scripts for Jenkins administration
-
endoflife jenkins version 2.176.1
Based on other comments I recommend: - Committing your Jenkins config to a local git repo so you can see how an upgrade affects it with git diff - Capture you plugin versions with Jenkins version
-
How to safely upgrade jenkins plugin. What is the fail proof way to do it.
You can do this by script console yourself and use the community docker image. Alternately, you can try out jenkins-bootstrap-shared project I made which pulls Jenkins into a JKD8 container (I plan to upgrade it to OpenJKD11 since Jenkins now supports that).
-
How to use Jenkins the DevOps way in 2022
Delete builds for branches and tags after 120 days
If you're using the community Jenkins docker image you can generate your upgraded plugins.txt file with a script like this https://github.com/samrocketman/jenkins-script-console-scripts/blob/main/list-versions-for-issue-report.groovy
-
Reset hashicorp admin access
If you're an admin in Jenkins, then you cam retrieve the credentials via script console. I did a talk which discusses using the script console. You can run this script which exports most common credentials in Jenkins. It will render them as plain text which you may be able to use to log into vault.
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?
pipeline-library - Collection of custom steps and variables for our Jenkins instance(s)
jira-trigger-plugin - Triggers a build when a certain condition is matched in JIRA
jenkins-bootstrap-shared - Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
jervis - Self service Jenkins job generation using Jenkins Job DSL plugin groovy scripts. Reads .jervis.yml and generates a job in Jenkins.
job-dsl-gradle-example - An example Job DSL project that uses Gradle for building and testing.
Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
devops-resources - DevOps resources - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP
docker-compose-ha-consul-vault-ui - A docker-compose example of HA Consul + Vault + Vault UI
pipeline-model-definition-plugin