Triggers a new build, returns a summary of the build. Optional build parameters can be set using an experimental API.
Note: For more about build parameters, read about
643 matches
22 actions
CircleCI
22 actions
Developer Tools/CircleCI
Triggers a new build, returns a summary of the build. Optional build parameters can be set using an experimental API.
Note: For more about build parameters, read about
{
"type": "object",
"properties": {
"build_parameters": {
"type": "object",
"description": "Additional environment variables to inject into the build environment. A map of names to values.\n"
},
"parallel": {
"type": "string",
"description": "The number of containers to use to run the build. Default is null and the project default is used.\n"
},
"revision": {
"type": "string",
"description": "The specific revision to build.\nDefault is null and the head of the branch is used. Cannot be used with tag parameter.\n"
}
}
}{
"type": "object",
"properties": {
"body": {
"type": "string",
"description": "commit message body"
},
"branch": {
"type": "string"
},
"build_time_millis": {
"type": "integer"
},
"build_url": {
"type": "string",
"format": "uri"
},
"committer_email": {
"type": "string",
"format": "email"
},
"committer_name": {
"type": "string"
},
"dont_build": {
"type": "string",
"description": "reason why we didn't build, if we didn't build"
},
"lifecycle": {
"type": "string",
"enum": [
"queued",
"scheduled",
"not_run",
"not_running",
"running",
"finished"
]
},
"previous": {
"type": "object",
"description": "previous build",
"properties": {
"build_num": {
"type": "integer"
},
"build_time_millis": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"retried",
"canceled",
"infrastructure_fail",
"timedout",
"not_run",
"running",
"failed",
"queued",
"scheduled",
"not_running",
"no_tests",
"fixed",
"success"
]
}
}
},
"queued_at": {
"type": "string",
"format": "date-time",
"description": "time build was queued"
},
"reponame": {
"type": "string"
},
"retry_of": {
"type": "integer",
"description": "build_num of the build this is a retry of"
},
"start_time": {
"type": "string",
"format": "date-time",
"description": "time build started"
},
"stop_time": {
"type": "string",
"format": "date-time",
"description": "time build finished"
},
"subject": {
"type": "string"
},
"username": {
"type": "string"
},
"vcs_url": {
"type": "string",
"format": "uri"
},
"why": {
"type": "string",
"description": "short string explaining the reason we built"
}
}
}