Create a build

Create a build

post

Create a build.

Query parameters
callbackUrlstringOptional

callback URL

Body

Build modification model

accountSeqintegerOptional

Account number (your system's account number)

Example: 1
autotagUseYnstringOptional

automatic tagging usage status (enabled: Y, unused: N)

Example: N
autotagPrefixstringOptionalExample: test
autotagSeqTypestringOptional

autotag sequence number type('DATETIME' or 'SEQUENCE')

Example: DATETIME
descriptionstringOptionalExample: build test
editTypestringRequired

Edit type (New: N)

Example: N
externalRegistrySeqintegerOptional

External registry number (number of the external registry to store build images).

Example: 0
imageNamestringOptional

Image name (name of the image to be built)

Example: build-api-test-gradle
registryNamestringOptional

Registry name (name of the registry to store the build image)

Example: dev
registryProjectIdintegerOptional

Registry project ID (project ID of the registry to store the build image)

Example: 27
tagNamestringOptional

Image tag name (tag name of the image to be built)

Example: 8u292-rmsoft
Responses
chevron-right
200

OK

*/*

build model

useYnstringOptional

Usage status (Enabled: Y, Disabled: N)

Example: Y
createdstringOptional

creation time

Example: 2022-12-02 08:42:46
updatedstringOptional

update time

Example: 2022-12-02 08:42:46
buildSeqintegerOptionalExample: 1
buildNointegerOptionalExample: 1
buildNamestringOptionalExample: build-test
buildDescstringOptionalExample: build test
accountSeqintegerOptional

Account number (system's account number).

Example: 1
registryProjectIdintegerOptional

Registry project ID (project ID for the registry to store the build image).

Example: 27
registryNamestringOptional

Registry name (name of the registry to store the build image).

Example: dev
imageNamestringOptional

Image name (name of the image to be built)

Example: build-api-test-gradle
autotagUseYnstringOptional

Automatic tagging usage status (Enabled: Y, Disabled: N).

Example: N
autotagPrefixstringOptionalExample: test
autotagSeqTypestringOptional

autotag sequence number type('DATETIME' or 'SEQUENCE')

Example: DATETIME
tagNamestringOptional

Image tag name (tag name of the image to be built)

Example: 8u292-rmsoft
externalRegistrySeqintegerOptional

External registry number (number of the external registry to store the build image).

Example: 0
buildServerHoststringOptional

Build server host (information about the server host where actual build steps are executed and images are generated)

Example: topic:build-20230623-ws-namespace-thingcluster
buildServerTlsVerifystringOptional

Whether TLS is used on the server where the actual build is executed (Enabled: Y, Disabled: N).

Example: N
buildServerCacrtstringOptional

TLS CA for the build execution server (CA value for TLS integration on the server where the actual build is executed).

buildServerClientCertstringOptional

Client certificate for the build execution server(Client certificate for TLS integration on the server where the actual build is executed.)

buildServerClientKeystringOptional

Client key for the build execution server.(Client key for TLS integration on the server where the actual build is executed.)

hostUrlstringOptional

Client key for the build execution server.(Client key for TLS integration on the server where the actual build is executed.)

Example: dev.cocktailcloud.io
buildCountintegerOptionalExample: 6
runningCountintegerOptionalExample: 6
doneCountintegerOptionalExample: 3
errorCountintegerOptionalExample: 3
pipelineCountintegerOptional

Number of connections associated with image updates.

Example: 1
tagCountintegerOptionalExample: 3
buildTimeAvgintegerOptional

Average build time (seconds) for successful builds

Example: 606
imgSizeAvgintegerOptional

Average image size (bytes) for successful builds

Example: 351720643
latestBuildTimeintegerOptional

Recent build time (seconds) for successful builds

Example: 752
latestImgSizeintegerOptional

Recent image size (bytes) for successful builds.

Example: 352886544
latestExecTimestringOptionalExample: 2022-12-02 08:42:46
post
/v1/build
200

OK