Setting up my new Dell XPS Ubuntu 18.04 LTS laptop

  1. connect via Wifi
  2. launch Chrome, sign in to Google
  3. 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)
  4. 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
  5. Register for Ubuntu LiveUpdate (this automatically came up when I logged in)
  6. peel Intel sticker off
  7. Ubuntu Software > dconf editor
    1. update wm/preferences/button-layout and change
    2. :minimize,maximize,close to `close,maximize,minimize:`
  8. install
    1. curl:` sudo apt install curl`
    2. git: sudo apt-get install -y git
    3. zsh, oh-my-zsh: sudo apt-get install -y zsh:
    4. install powerline fonts: `sudo apt-get install fonts-powerline` (so much easier than on the Mac) –
    5. sudo apt-get install -y autojump;
    6. update zshrc plugins – i.e. to `plugins=(autojump docker extract git git-extras vagrant web-search )`

Jenkins: Scripted vs Declarative Pipelines



Scripted is a general purpose DSL and executed from the top of a `Jenkinsfile` downwards like most traditional scripts in Groovy.

E.g. of if/else and try/catch/throw



  • Declarative pipelines have a `pipeline` block. e.g.
pipeline {
    /*... code here ...*/
  • executing a scripted pipeline in a Declarative Pipeline

a script step takes a block of Scripted Pipeline and executes that in the Declarative Pipeline