Module: api/triggerBuild

Triggers a build in Jenkins and waits until the build leaves the queue and starts building to get the build number.
Parameters:
Name Type Description
auth JenkinsAuth The authentication object to pass
jobName string Name of the job
intervalTimeout number How long (in ms) should we until the job to leave the queue and start building?
callback module:api/triggerBuild.triggerBuildCallback Callback to call
Source:

Type Definitions

triggerBuildCallback(error, Build)

Parameters:
Name Type Description
error * Error, or null if no error
Build number number
Source: