Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.39 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.39 KB

condition-jenkins

npm version Build Status Coverage Status

Dependency Status devDependency Status

Installation

To install this plugin, execute:

npm install --save-dev @krux/condition-jenkins

Usage

To 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=true in 'Properties Content'
  • In the Jenkins build configuration, check 'Inject passwords to the build as environment variables' and set GH_TOKEN appropriately
  • Configure release in your package.json as follows (showing master as the branch, but you can change that):
   "release": {
     "branch": "master",
     "verifyConditions": {
       "path": "./node_modules/@krux/condition-jenkins"
     }
   }