jenkins-script-console-scripts
blog
jenkins-script-console-scripts | blog | |
---|---|---|
9 | 5 | |
435 | 5 | |
- | - | |
3.6 | 6.0 | |
8 days ago | 6 months ago | |
Groovy | HTML | |
MIT License | GNU General Public License v3.0 or later |
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
-
Looking for a speaker on a panel on "how to make the most of Jenkins", pm me if interested
You can capture plugins and Jenkins versions using the script console to provision a second pristine Jenkins for additional testing like upgrade testing. I go deeper into this with complete immutable Jenkins infrastructure with jenkins-bootstrap-shared.
- 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
-
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.
-
how to enforce resource limits on jobs in jenkins-operator instance?
Here’s a list of properties I’ve found. https://github.com/samrocketman/jenkins-script-console-scripts/blob/main/aggressive-cloud-provisioning.groovy
blog
-
Protecting SSHD's Listening Port with Port Knocking (or better)
I forgot to mention I have an unpublished blog post on the topic. iptables man pages are a good read as well
-
Looking for a speaker on a panel on "how to make the most of Jenkins", pm me if interested
If you're trying to capture your job configuration, you don't want your build history (due to large size), and you want the configuration for an off-site test setup... then you can tar up your Jenkins home without capturing the build metadata.
-
How to handle security updates to containers OSes?
Thanks and you're welcome. I am considering adding on how to package apps that have shared library dependencies using ldd utility (apps that aren't statically compiled). A few examples of that: - https://github.com/PeterDaveHello/docker-shellcheck/pull/11 - https://github.com/samrocketman/blog/issues/81 - https://github.com/samrocketman/docker-webhookrelay/blob/main/Dockerfile
-
Is docker/k8s necessary for most situations?
Here is my guide to production Docker images which includes practical examples. Also, if you think you still need a shell in your minimal container here’s an example of reusing busybox from Alpine.
-
How to safely upgrade jenkins plugin. What is the fail proof way to do it.
If you don't want to use git to capture your Jenkins home data, here's a tar command method
What are some alternatives?
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.
docker-shellcheck - 🐳 Dockerized ShellCheck: A static analysis tool for shell scripts
job-dsl-plugin - A Groovy DSL for Jenkins Jobs - Sweeeeet!
NetworkManager-ssh - SSH VPN integration for NetworkManager
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.
gitignore - A collection of useful .gitignore templates
devops-resources - DevOps resources - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP
copilot-cli - The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
docker-compose-ha-consul-vault-ui - A docker-compose example of HA Consul + Vault + Vault UI
docker-webhookrelay - A minimal sidecar container meant to run a webhook relay for a local docker service.