Skip to content

node-ci/nci-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nci scheduler

Periodic build runner for nci nci.

Npm version 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)