CI Integration - JanJorgensen/StepBro GitHub Wiki

StepBro can be used together with various Continuous Integration (CI) services, such as Azure DevOps, Github Actions, Gitlab CI, Bitbucket Pipelines etc.

When using StepBro together with a CI service, the "--exitcode" CLI option should be set to "SubVerdict", as this makes the CI fail if a test fails. CI services use the exitcode of a command to determine whether a step should fail or succeed, an exitcode of 0 means success, any other exitcode means failure of some sort.

Azure DevOps

For Azure DevOps specifically, a log format has been created, which can be used with the CLI option "--format", specifically "--format AzureLog". This makes the output from the tests to the console utilize Azure Devops logging commands, making it easier to get an overview in the Azure DevOps logs.

Github Actions

For an example of how StepBro can be utilized together with Github Actions, look at the CI for StepBro.