https://github.com/mixmaxhq/commitlint-jenkins
A wrapper for commitlint that determines the appropriate commit range in a Jenkins build
https://github.com/mixmaxhq/commitlint-jenkins
corgi-tag
Last synced: 18 days ago
JSON representation
A wrapper for commitlint that determines the appropriate commit range in a Jenkins build
- Host: GitHub
- URL: https://github.com/mixmaxhq/commitlint-jenkins
- Owner: mixmaxhq
- License: mit
- Created: 2019-10-28T18:20:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-22T16:05:35.000Z (over 1 year ago)
- Last Synced: 2024-10-15T17:39:15.600Z (7 months ago)
- Topics: corgi-tag
- Language: JavaScript
- Homepage: https://www.mixmax.com/careers
- Size: 480 KB
- Stars: 3
- Watchers: 21
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# commitlint-jenkins
[](http://commitizen.github.io/cz-cli/)
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](https://github.com/mixmaxhq/commitlint-jenkins/pulls)!## 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`](https://github.com/mixmaxhq/semantic-commitlint).## Publishing a new version
```
GH_TOKEN=xxx npx semantic-release --no-ci
```