Release Server
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Release Server

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Release Server

Releases a server from a resource pool if acquired previously in the execution.

Script usage:

Release-Server(
	Server: <text>,
	[Role: <text>],
	[Verbose: <true/false>]
);

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

Arguments:

NameFormatScript UsageUsage Notes
Server name (default)
text
Server
This argument is required.
Server role
text
Role
Log verbose
true/false
Verbose

Example:

# releases a server acquired earlier in a plan
Acquire-Server( 
   Role: build-servers,
   ServerName => $AcquiredServerName
);

# ...

Release-Server( 
   Role: build-servers,
   Server: $AcquiredServerName
);

Was this article helpful?

What's Next