Jenkins CI Server: JavaScript Tech Mentoring

Travis is cool. Coveralls is hip. But Jenkins has had this stuff for a while, and more.

Starting

Once you have clone the repository, just run:

vagrant up

Connecting

Make SSH connection as vagrant@vagrant user on:

127.0.0.1:2222

In case you want to share your Jenkins instance, you could use localtunnel:

lt --subdomain jenkins --port 6060

Vagrant commands

  • Shell connect to VM vagrant ssh (for convenience ‘vagrant’ is a no-passwd sudo user)
  • Pause VM vagrant suspend
  • Start suspendend VM vagrant resume
  • Halt VM vagrant halt
  • Start halted VM vagrant up
  • Completely remove the VM vagrant destroy
  • Re-provision VM vagrant provision (useful when tweaking provisioning scripts)