This repo exists as a historical archive.
To install this plugin, execute:
npm install --save-dev @krux/condition-jenkinsTo use Jenkins for the CI, make the following changes:
- In the Jenkins build configuration, check 'Inject environment variables to the build process' and set
CI=truein 'Properties Content' - In the Jenkins build configuration, check 'Inject passwords to the build as environment variables' and set
GH_TOKENappropriately - Configure
releasein yourpackage.jsonas follows (showingmasteras the branch, but you can change that):
"release": {
"branch": "master",
"verifyConditions": {
"path": "./node_modules/@krux/condition-jenkins"
}
}