@mixmaxhq/commitlint-jenkins

1.6.0 • Public • Published

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.

Dependencies (6)

Dev Dependencies (9)

Package Sidebar

Install

npm i @mixmaxhq/commitlint-jenkins

Weekly Downloads

380

Version

1.6.0

License

MIT

Unpacked Size

17.2 kB

Total Files

7

Last publish

Collaborators

  • alan-hadyk
  • leonardo-mixmax
  • dmytro.prysiazhnyi
  • laszlovaspal
  • akashbhalla
  • hishank
  • danyloderkach
  • sergey.polyarush
  • jordins
  • eugene.safronov.dewais
  • joneslloyd
  • kamilgruszka
  • tharindu-wj
  • aminao
  • enuma
  • adriandmitroca
  • mixmaxkristina
  • corridonimatias
  • mikusd
  • mixmax_it
  • andra.lazariuc
  • danaya
  • adborroto
  • aaavakian
  • dnechay
  • raphaelbs
  • guilhermemj
  • eduard.borges
  • mixmax-codeship
  • bradvogel
  • jessem3
  • jsalvata
  • gabriel-mixmax