Job Actions

Deploy job

You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).

post/job/{jobId}/deploy

Request

Path parameters

jobIdstring uuid required

Job ID

Query parameters

forceEvent'START' | 'STOP' | 'DELETE' | 'CRON'

When filled, it indicates the target event to be deployed.
If the concerned job hasn't the target event provided, the job won't be deployed.

Request body

image_tagstring

Image tag to deploy.
Cannot be set if git_commit_id is defined

git_commit_idstring

Commit to deploy Cannot be set if image_tag is defined

Response

Deploy job

idstring uuid required
state'BUILDING' | 'BUILD_ERROR' | 'CANCELED' | 'CANCELING' | 'DELETED' | 'DELETE_ERROR' | 'DELETE_QUEUED' | 'DELETING' | 'DEPLOYED' | 'DEPLOYING' | 'DEPLOYMENT_ERROR' | 'DEPLOYMENT_QUEUED' | 'EXECUTING' | 'QUEUED' | 'READY' | 'RECAP' | 'RESTARTED' | 'RESTARTING' | 'RESTART_ERROR' | 'RESTART_QUEUED' | 'STOPPED' | 'STOPPING' | 'STOP_ERROR' | 'STOP_QUEUED' | 'WAITING_DELETING' | 'WAITING_RESTARTING' | 'WAITING_RUNNING' | 'WAITING_STOPPING' required
service_deployment_status'NEVER_DEPLOYED' | 'OUT_OF_DATE' | 'UP_TO_DATE' required
last_deployment_datestring date-time
is_part_last_deploymentboolean
execution_idstring
deployment_request_idstring uuid nullable
deployment_requests_countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.