Bitrise

Out of the box support

The Bitrise alias, which returns an IBitriseProvider instance can be used to interact with the Bitrise environment.

The following example prints the build number if running on Bitrise:

if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
    Information(BuildSystem.Bitrise.Environment.Build.BuildNumber);
}
else
{
    Information("Not running on Bitrise");
}

See IBitriseProvider for details and available methods to interact with Bitrise.

Running Cake

The recommended way to run the Cake .NET Tool on Bitrise is by using a tool manifest. Add a Script step to your workflow containing:

#!/bin/bash
dotnet tool restore
dotnet cake

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

#!/bin/bash
dotnet cake.cs

If you are using Cake.Sdk with a project:

#!/bin/bash
dotnet run --project cake.csproj

If you are using Cake Frosting:

#!/bin/bash
dotnet run --project cake.csproj

Available 3rd party extensions

No extensions found