Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krux/condition-jenkins
make sure the right build(jobs) on jenkins get published
https://github.com/krux/condition-jenkins
deprecated
Last synced: 12 days ago
JSON representation
make sure the right build(jobs) on jenkins get published
- Host: GitHub
- URL: https://github.com/krux/condition-jenkins
- Owner: krux
- License: bsd-3-clause
- Archived: true
- Created: 2016-04-27T03:11:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T22:49:01.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T17:18:21.449Z (18 days ago)
- Topics: deprecated
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
![](https://cdn2.iconfinder.com/data/icons/perfect-flat-icons-2/512/Terminate_wind_up_symbol_stop_send_away_sack.png)
# Deprecated and no longer in use or being maintained.
This repo exists as a historical archive.# condition-jenkins
[![npm version](https://badge.fury.io/js/%40krux%2Fcondition-jenkins.svg)](http://badge.fury.io/js/%40krux%2Fcondition-jenkins)
[![Build Status](https://jenkins-ci.org/krux/condition-jenkins.svg)](https://jenkins-ci.org/krux/condition-jenkins)
[![Coverage Status](https://coveralls.io/repos/krux/condition-jenkins/badge.svg?service=github)](https://coveralls.io/github/krux/condition-jenkins)[![Dependency Status](https://david-dm.org/krux/condition-jenkins/master.svg)](https://david-dm.org/krux/condition-jenkins/master)
[![devDependency Status](https://david-dm.org/krux/condition-jenkins/master/dev-status.svg)](https://david-dm.org/krux/condition-jenkins/master#info=devDependencies)## Installation
To install this plugin, execute:
```shell
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"
}
}
```