jenkins-script-console-scripts
job-dsl-gradle-example
Our great sponsors
jenkins-script-console-scripts | job-dsl-gradle-example | |
---|---|---|
8 | 2 | |
418 | 433 | |
- | - | |
0.0 | 0.0 | |
5 months ago | 11 months 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-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.
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
configuration-as-code-plugin - Jenkins Configuration as Code Plugin
artifact-manager-s3-plugin - Artifact manager implementation for Amazon S3
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.
job-dsl-plugin - A Groovy DSL for Jenkins Jobs - Sweeeeet!
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 - A cloud-native Pipeline resource.
jervis - Self service Jenkins job generation using Jenkins Job DSL plugin groovy scripts. Reads .jervis.yml and generates a job in Jenkins.
S3-Upload-JMeter-Groovy - Upload files to AWS S3 in JMeter using Groovy