Skip to content

make sure the right build(jobs) on jenkins get published

Notifications You must be signed in to change notification settings

Decisiv/condition-jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
     }
   }

About

make sure the right build(jobs) on jenkins get published

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%