Fixes for the jenkins ci class.
Tests for the jenkins ci driver.