1.0.7 • Published 8 years ago
veritas-condition-jenkins v1.0.7
Veritas Condition Jenkins
This is a semantic-release verifyRelease plug-in that will allow a release to continue only if all of the following conditions are true:
- The
JENKINS_URLenvironment variable is set to any value (this should be a URL but the value is not verified) - The
GIT_BRANCHenvironment variable is equal to the target branch ( default is'master')
If all of the above conditions are true, a new version of the package will be released.
Use
- Follow the basic setup instructions for semantic-release
- Install as a dev dependency.
npm i -D veritas-condition-jenkins - Add the following to your package.json
"release": { "verifyConditions": "veritas-condition-jenkins" }