onefuzz/contrib/onefuzz-job-azure-devops-pipeline
Kanan B cad8e0e601 Support custom ado fields that mark work items as duplicate (#3467)
* Add field to ado config for checking duplicate work items

* Make duplicate fields nullable and add it to python models

* Update broken tests

* Update docs to include new ado_duplicate_fields property
2023-10-03 11:51:39 -07:00
..
2021-04-14 14:11:53 -04:00

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.