Bamboo

Out of the box support

The Bamboo alias, which returns an IBambooProvider instance can be used to interact with the Atlassian Bamboo environment.

The following example prints the build number if running on Atlassian Bamboo:

if (BuildSystem.Bamboo.IsRunningOnBamboo)
{
    Information(BuildSystem.Bamboo.Environment.Build.Number);
}
else
{
    Information("Not running on Atlassian Bamboo");
}

See IBambooProvider for details and available methods to interact with Atlassian Bamboo.

Running Cake

The recommended way to run the Cake .NET Tool on Atlassian Bamboo is by using a tool manifest. Add a task of type Command or Script with the following:

dotnet tool restore
dotnet cake

If you are using Cake.Sdk with a file-based script:

dotnet cake.cs

If you are using Cake.Sdk with a project:

dotnet run --project cake.csproj

If you are using Cake Frosting:

dotnet run --project cake.csproj

Available 3rd party extensions

No extensions found