Skip to content

Instantly share code, notes, and snippets.


Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
UdayVishwakarma / kill_all_stuck_jenkins_jobs.groovy
Created Jan 17, 2018
the below script kills all the jobs which are stuck
View kill_all_stuck_jenkins_jobs.groovy
Jenkins.instance.getItems().each { job ->
job.builds.each { build ->
if (build.getResult().equals(null)) {
build.finish(hudson.model.Result.ABORTED, new"Aborting build"));
You can’t perform that action at this time.