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.

Reject Build

Modified on July 26, 2024

Rejects a BuildMaster build.

Script usage:

Reject-Build(
	[Application: <text>],
	[ReleaseNumber: <text>],
	BuildNumber: <text>,
	[FailIfAlreadyRejected: <true/false>],
	[RejectionNotes: <text>]
);

This operation may be prefixed with BuildMaster::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
In application
text
Application
Default value is "$ApplicationName".
With release
text
ReleaseNumber
Default value is "$ReleaseNumber".
Build number (default)
text
BuildNumber
This argument is required.
Fail if build is already rejected
true/false
FailIfAlreadyRejected
Value note: "false".
Rejection notes
text
RejectionNotes
Value note: "unspecified".

Example:

Reject-Build $BuildToReject;