Migrate to use JenkinsRule.