2021-04-14 14:11:53 -04:00

2.5 KiB

Deploying OneFuzz jobs via ADO Pipelines

This pipeline uses an AAD Service Principal to authenticate to Onefuzz.

To create work items upon finding crashes, this pipeline uses a Azure Devops Personal Access Token to report any crashes found during fuzzing as Azure Devops Work Items.

Configuration

This example uses the Azure Devops Variable Group, named onefuzz-config, which can be shared across multiple pipelines. The following variables are defined in onefuzz-config:

This example uses Azure Devops Runtime parameters, which are specific to this pipeline. The following parameters are defined in this pipeline:

  • onefuzz_project: The name of your project. As an example, "Browser". Unless otherwise specified, this defaults to sample.
  • onefuzz_target: The name of your target. As an example, "jpg-parser". Unless otherwise specified, this defaults to sample.
  • onefuzz_pool: The name of the fuzzing Pool to use. Unless otherwise specified, this defaults to linux.

Azure Devops Configuration

In the notification configuration, there are a few items that are hard-coded that you should update for your instance:

  • Replace INSERT_YOUR_ORG_HERE with the name of your Azure Devops organization.
  • Replace INSERT_YOUR_PROJECT_HERE with the name of your Azure Devops project.
  • Replace OneFuzz-Ado-Integration with the Area Path for your work items to be filed.