When generating certificates from LetsEncrypt we get 4
.pem files. These are:
What are they all?
privkey.pem: private key
cert.pem: public key
chain.pem: certificate chain
fullchain.pem concatenation of cert.pem and chain.pem
This plugin executes a groovy script in the Jenkins JVM. Typically, the script checks some conditions and changes accordingly the build result, puts badges next to the build in the build history and/or displays information on the build summary page.
- bind: address already in use
Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use.
Lets you define how many (as a number or a percentage) of hosts it should manage at a single time. E.g.
Here’s how to enable a job via the CLI:
java -jar $HOME/cli/jenkins-cli.jar -auth <username>:<password> -s <jenkins url> enable-job “<name of job>”
If you get this message when running a Jenkins job:
pending—In the quiet period. Expires in
then you’re running into the Quiet Period feature of Jenkins. i.e. essentially you can make Jenkins wait before building to allow for commit bursts.
Scripted is a general purpose DSL and executed from the top of a
Jenkinsfile downwards like most traditional scripts in Groovy.
try/catch/throw – https://jenkins.io/doc/book/pipeline/syntax/#flow-control
- Declarative pipelines have a
pipeline block. e.g.
/*... code here ...*/
- executing a scripted pipeline in a Declarative Pipeline
script step takes a block of Scripted Pipeline and executes that in the Declarative Pipeline
Docker containers start with a PID1 namespace.
Rkt uses PID2 (‘cos PID 1 is used by systemd).