Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Cancel Step for CI
Cancel Step for CI

Cancel Step for CI

Tolga Arican

|
16 installs
| (0) | Free
The task prevents a build when this step executed.
Get it free

Cancel Step for CI

This Azure DevOps extension cancels the ongoing build.

Requirements

The task requires access to the OAuth token and cancel build permissions.

Authentication

The task requires access to the OAuth token in order to cancel the build.

Edit the build and select the 'Agent job'. Under 'Additional Options' select 'Allow scripts to access the OAuth token'.

Allow scripts to access the OAuth token

Edit the build and select 'Security' from the top menu and select the 'Project Collection Build Service'. From the 'Access Control Summary' panel on the right change the 'Stop Builds' permission to 'Allow'.

Allow scripts to access the OAuth token

Acknowledgments

  • Kudos to Chris for creating original Cancel Trigger (https://github.com/chriscoombs)
  • This Cancel extension is the simple form of the original extension Cancel Build for CI Trigger (https://marketplace.visualstudio.com/items?itemName=chriscoombs.cancel-build-ci-trigger)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft