Jenkins tutorial: review and fix flaws