From slimmer's jenkins.sh
bundle exec govuk-lint-ruby --diff --cached --format clang bin lib test
https://ci-new.alphagov.co.uk/job/govuk_slimmer/797/console
if [[ ${GIT_BRANCH} != "origin/master" ]]; then
bundle exec govuk-lint-ruby \
--format html --out rubocop-${GIT_COMMIT}.html \
--format clang \
app test lib spec config
fi
https://ci-new.alphagov.co.uk/job/govuk_signonotron2/571/console
# Lint changes introduced in this branch, but not for master
if [[ ${GIT_BRANCH} != "origin/master" ]]; then
bundle exec govuk-lint-ruby \
--diff \
--cached \
--format html --out rubocop-${GIT_COMMIT}.html \
--format clang \
app test lib
fi
https://ci-new.alphagov.co.uk/job/govuk_whitehall/11856/console