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: http://www.snowcrash.eu/oh-my-zsh/
    4. install powerline fonts: sudo apt-get install fonts-powerline (so much easier than on the Mac) – https://github.com/powerline/fonts
    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

https://jenkins.io/doc/book/pipeline/syntax/#compare

and

https://jenkins.io/doc/book/pipeline/syntax/#scripted-pipeline

 

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/throwhttps://jenkins.io/doc/book/pipeline/syntax/#flow-control

 

Notes:

  • Declarative pipelines have a pipeline block. e.g.

  • executing a scripted pipeline in a Declarative Pipeline

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