[:] Using SourceClear via Azure DevOps

  1. Create a azure-pipelines.yml like so for Azure Pipelines.
  2. On AzureDevOps. At your project. Go to Pipelines > Builds > + New > New build pipeline to connect your repository to Azure Pipelines. You may be immediately prompted to add a new build pipeline if you have no existing pipelines.
  3. We'll do this as the equivalent of CI script for Linux Bash.
  4. On AzureDevOps. At your project. Go to Pipelines > Builds > Edit > Variables and add a new secret with the name of SRCCLR_API_TOKEN. We'll use the name of the environment variable SourceClear expects for consistency.
  5. Declare the SRCCLR_API_TOKEN secret.
  6. Run the Azure Pipeline and enjoy!