Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
/ condition-jenkins Public archive

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

License

Notifications You must be signed in to change notification settings

krux/condition-jenkins

Deprecated and no longer in use or being maintained.

This repo exists as a historical archive.

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •