Also see Ant, grunt

  1. Configuring Jenkins CI to work with Git on Ubuntu
  2. Testing Mocha applications with Grunt using Jenkins

GPG error: http://pkg.jenkins-ci.org binary/ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY (key)

It’s actually really simple to fix this error when running apt-get upgrade, just redownload the public key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key>