Most amusing spam received to date

Sent 5 days ago to my work address, no less.

Guess I got away with it!

Upgrading Jenkins war file the quick and dirty way

The above bash script will download a given version of the jenkins.war file and symlink it into place before restarting the jenkins service.

Assumptions made:

  • The jenkins.war file is installed to /usr/share/jenkins
  • The server is using upstart for running services
  • User input is sane – there is no validation or sanitisation