https://github.com/node-ci/nci-scheduler
Periodic build runner for nci
https://github.com/node-ci/nci-scheduler
Last synced: 11 months ago
JSON representation
Periodic build runner for nci
- Host: GitHub
- URL: https://github.com/node-ci/nci-scheduler
- Owner: node-ci
- License: mit
- Created: 2016-01-08T18:31:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T18:27:53.000Z (almost 6 years ago)
- Last Synced: 2025-01-23T17:44:00.574Z (about 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# nci scheduler
Periodic build runner for nci [nci](https://github.com/node-ci/nci).
[](https://www.npmjs.org/package/nci-scheduler)
[](https://snyk.io/test/npm/nci-scheduler)
## Installation
```sh
npm install nci-scheduler
```
## Usage
To enable add this plugin to the `plugins` section at server config:
```json
{
"plugins": [
"nci-scheduler"
]
....
}
```
after that you can set scheduler settings at project config e.g. (for building
project every 5 seconds):
```json
"buildEvery": {
"time": "*/5 * * * * *",
"withScmChangesOnly": true
}
```
parameters:
- `time` - 6 or 5 (seconds can be omitted) groups cron string
- `withScmChangesOnly` - if true then build will be started only if there is
scm changes for project
- `buildParams` - params for the build (override project config)