Trying to get build working correctly with Jenkins