Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2890,6 +2890,7 @@ Octopus.Client.Model
Octopus.Client.Model.GuidedFailureMode DefaultGuidedFailureMode { get; set; }
Boolean DefaultToSkipIfAlreadyInstalled { get; set; }
String DeploymentChangesTemplate { get; set; }
Boolean FailTargetDiscovery { get; set; }
Boolean ForcePackageDownload { get; set; }
String ProjectId { get; set; }
String ReleaseNotesTemplate { get; set; }
Expand Down Expand Up @@ -5171,6 +5172,7 @@ Octopus.Client.Model
Octopus.Client.Model.ReferenceCollection DeployedToMachineIds { get; set; }
String EnvironmentId { get; set; }
Octopus.Client.Model.ReferenceCollection ExcludedMachineIds { get; set; }
Boolean FailTargetDiscovery { get; set; }
Boolean FailureEncountered { get; set; }
Boolean ForcePackageDownload { get; set; }
Dictionary<String, String> FormValues { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2906,6 +2906,7 @@ Octopus.Client.Model
Octopus.Client.Model.GuidedFailureMode DefaultGuidedFailureMode { get; set; }
Boolean DefaultToSkipIfAlreadyInstalled { get; set; }
String DeploymentChangesTemplate { get; set; }
Boolean FailTargetDiscovery { get; set; }
Boolean ForcePackageDownload { get; set; }
String ProjectId { get; set; }
String ReleaseNotesTemplate { get; set; }
Expand Down Expand Up @@ -5189,6 +5190,7 @@ Octopus.Client.Model
Octopus.Client.Model.ReferenceCollection DeployedToMachineIds { get; set; }
String EnvironmentId { get; set; }
Octopus.Client.Model.ReferenceCollection ExcludedMachineIds { get; set; }
Boolean FailTargetDiscovery { get; set; }
Boolean FailureEncountered { get; set; }
Boolean ForcePackageDownload { get; set; }
Dictionary<String, String> FormValues { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ public class DeploymentSettingsResource : Resource, IHaveSpaceResource

[Writeable]
public bool ForcePackageDownload { get; set; }

[Writeable]
public bool FailTargetDiscovery { get; set; }
}
}
8 changes: 7 additions & 1 deletion source/Octopus.Server.Client/Model/RunbookRunResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ public RunbookRunResource()
/// </summary>
[WriteableOnCreate]
public string DebugMode { get; set; }


/// <summary>
/// If set to true, target discovery steps that find no matching targets will fail. If false, steps with no matching targets will be skipped.
/// </summary>
[WriteableOnCreate]
public bool FailTargetDiscovery { get; set; }

/// <summary>
/// One of the values from <see cref="RunbookRunPriority"/>
/// </summary>
Expand Down