Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@mixmaxhq/commitlint-jenkins

mixmaxhq539MIT1.7.0

Lint all relevant commits for a change or PR on Jenkins CI

readme

commitlint-jenkins

Commitizen friendly

A wrapper for commitlint that determines the appropriate commit range in a Jenkins build. Adapted from @commitlint/travis-cli.

Only supports git projects, assumes a single repository (i.e. does not explicitly support cross- repo pull requests), and doesn't support renaming the remote to something other than origin. We welcome pull requests!

Flags

--if-ci

If commitlint-jenkins is run outside of a CI context, it will fail. This flag simply ignores the failure, for use-cases where commitlint-jenkins should be run from a script shared with a non-CI workflow.

--pr-only

If commitlint-jenkins is run in CI in a build that isn't a pull request build, silently exit. This flag is particularly handy for use with @mixmaxhq/semantic-commitlint.

Publishing a new version

GH_TOKEN=xxx npx semantic-release --no-ci

changelog

1.6.0 (2020-12-03)

Features

1.5.1 (2020-07-15)

Bug Fixes

  • support invocation without semantic-release (#139) (a064464)

1.5.0 (2020-07-15)

Features

  • [CORE-2949] support disallowing squash merges (#138) (62c3785)

1.4.5 (2020-07-15)

Bug Fixes

  • deps: [CORE-2949] depend on commitlint cli again (#137) (d92712a)

1.4.4 (2020-04-10)

Bug Fixes

  • deps: upgrade @octokit/rest (cfd6eec)

1.4.3 (2020-02-27)

Bug Fixes

  • use non-deprecated import for octokit (5cc10d0)

1.4.2 (2020-01-13)

Bug Fixes

  • deps: bump @commitlint/cli from 8.2.0 to 8.3.4 (#39) (39c9aea)

1.4.1 (2019-11-05)

Bug Fixes

  • fix control flow + github auth error case (a9e11ec)

1.4.0 (2019-11-05)

Features

  • support squash commit workflow by linting PR (#6) (06d3562)

1.3.0 (2019-11-05)

Bug Fixes

Features