latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

DeploymentSettings

Modify deployment settings

Modifies deployment settings for a project.

put/{spaceId}/projects/{projectId}/deploymentsettings

Path parameters

spaceIdstring required

The ID of the space containing the resource(s).

projectIdstring required

The Project ID to get the deployment settings from. Example Projects-1.

Request body

CancelQueuedTasksboolean

When enabled, creating a new deployment will cancel all previously queued deployments to the same project/environment/tenant

CancelRunningTasksboolean

When enabled, completing a deployment will cancel older running or paused deployments to the same project/environment/tenant

ChangeDescriptionstring

The description for the deployment settings modification.

DefaultGuidedFailureMode'EnvironmentDefault' | 'Off' | 'On'

The action related to when a deployment error occurs. (IE: Enabling guided failure will pause the deployment failure to allow error correction before proceeding)

DefaultToSkipIfAlreadyInstalledboolean

If true, and the version of the package being deployed is already present on the machine, its re-deployment will be skipped.

DeploymentChangesTemplatestring

A markdown template generated for each deployment's changes.

FailTargetDiscoveryboolean

Fail cloud discovery steps if no targets found

ForcePackageDownloadboolean

Option to force re-downloading packages for deployment.

ProjectIdstring required

The Project ID to get the deployment settings from. Example Projects-1.

ReleaseNotesTemplatestring

Template text pre-filled as the release notes when a release of this project is created; may contain Octopus variable expressions. Omitting this clears the project's existing template.

SpaceIdstring required

The ID of the space containing the resource(s).

Response

Confirmation that the Deployment Settings were modified, contains the updated Deployment Settings

CancelQueuedTasksboolean
CancelRunningTasksboolean
DefaultGuidedFailureMode'EnvironmentDefault' | 'Off' | 'On'
DefaultToSkipIfAlreadyInstalledboolean
DeploymentChangesTemplatestring
FailTargetDiscoveryboolean
ForcePackageDownloadboolean
Idstring

Gets or sets a unique identifier for this resource.

LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

ProjectIdstring
ReleaseNotesTemplatestring
SpaceIdstring