Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create/Update Build

view on GitHub

Create Build is available as both a pgutil command and an HTTP Request, and will create a new build or update properties on an existing build, and return a BuildInfo object describing the new or updated build.

Note: this API endpoint functions by creating a new build when the version specified in the API request does not exist, else it updates an existing build.

Command Specification (CLI)

The builds create command is used to create a new build.

The --project and --build options are always required.

Creating a build requires the project name (e.g. myProject) and the build number to be created (e.g 1.2.3)

pgutil builds create --build=1.2.3 --project=myProject 

HTTP Request Specification

To create or update a build, simply POST to the URL with an appropriate API Key and a CreateOrUpdateBuildOptions object (see CreateOrUpdateBuildOptions.cs) object as the request body.

POST /api/sca/builds

HTTP Response Specification

A BuildInfo object (see BuildInfo.cs) will be returned.