jenkins-script-console-scripts
jenkins-bootstrap-shared
Our great sponsors
jenkins-script-console-scripts | jenkins-bootstrap-shared | |
---|---|---|
8 | 5 | |
418 | 316 | |
- | - | |
0.0 | 0.0 | |
5 months ago | 2 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.
jenkins-bootstrap-shared
-
Steps to improve maintenance efforts
I recommend capturing your plugin versions. You can do it via maven or gradle. You could use the script console scripts on Jenkins. For testing upgrades you would need other means.
-
What is the best course/courses to learn pipeline as code with Groovy and Jenkins
Jenkins as immutable infra
-
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
Here's how I have it scripted. (documentation : https://github.com/samrocketman/jenkins-bootstrap-shared/tree/main/scripts/upgrade )
Not op but I use this method I developed https://github.com/samrocketman/jenkins-bootstrap-shared
What are some alternatives?
configuration-as-code-plugin - Jenkins Configuration as Code Plugin
Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
job-dsl-plugin - A Groovy DSL for Jenkins Jobs - Sweeeeet!
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.
pipeline-library - Collection of custom steps and variables for our Jenkins instance(s)
devops-resources - DevOps resources - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP
Rundeck - Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
docker-compose-ha-consul-vault-ui - A docker-compose example of HA Consul + Vault + Vault UI