Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Uday UdayVishwakarma

🎯
Focusing
Block or report user

Report or block UdayVishwakarma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View self-signed-certificate-with-custom-ca.md

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
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 java.io.IOException("Aborting build"));
}
}
}
You can’t perform that action at this time.