nci-scheduler

1.2.0 • Public • Published

nci scheduler

Periodic build runner for nci nci.

Known Vulnerabilities

Installation

npm install nci-scheduler

Usage

To enable add this plugin to the plugins section at server config:

{
    "plugins": [
        "nci-scheduler"
    ]
....
}

after that you can set scheduler settings at project config e.g. (for building project every 5 seconds):

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

Package Sidebar

Install

npm i nci-scheduler

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

3.78 kB

Total Files

4

Last publish

Collaborators

  • okv