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.
- connect via Wifi
- launch Chrome, sign in to Google
- love that Ubuntu automatically enters your first key into the password box of the lock screen (rather than the Mac which uses your first keystroke to wake the screen so you have to wait before you can enter your password)
- launch Terminal (Ctrl Alt T) and install Terminator (
sudo apt-get -y update; sudo apt-get install -y terminator); launch Terminator (
terminator); Add to Favourites; close Terminal
- Register for Ubuntu LiveUpdate (this automatically came up when I logged in)
- peel Intel sticker off
- Ubuntu Software > dconf editor
- update wm/preferences/button-layout and change
sudo apt install curl
- git: sudo apt-get install -y git
- zsh, oh-my-zsh: sudo apt-get install -y zsh: http://www.snowcrash.eu/oh-my-zsh/
- install powerline fonts:
sudo apt-get install fonts-powerline(so much easier than on the Mac) – https://github.com/powerline/fonts
- sudo apt-get install -y autojump;
- update zshrc plugins – i.e. to
plugins=(autojump docker extract git git-extras vagrant web-search )
- bind: address already in use
Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use.
You’d have to
- Have to take time off work
- fill out 20 pages of documents
- Get your ID verified by the Post Office
- Get photocopies of the authorised documents at Snappy Snaps round the corner
- Find out that you can’t have your passport and driving license on the same sheet of paper
- Return to Snappy Snapshot get a second copy
- Find you’re stuck in a queue
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
/*... 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).