From dc9fd554c42273497679447349afcab63b455dd5 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Mon, 14 Jun 2021 11:59:10 -0700 Subject: [PATCH] actually download the artifacts --- build/pipelines/fuzz.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build/pipelines/fuzz.yml b/build/pipelines/fuzz.yml index 73b57710c..7381f8147 100644 --- a/build/pipelines/fuzz.yml +++ b/build/pipelines/fuzz.yml @@ -30,9 +30,16 @@ stages: condition: succeeded() pool: vmImage: 'ubuntu-latest' + variables: + publishedArtifactsPath: drop + artifactsPath: $(Build.SourcesDirectory)\Artifacts jobs: - job: steps: + - task: DownloadBuildArtifacts@0 + inputs: + artifactName: $(publishedArtifactsPath) + downloadPath: $(artifactsPath) - task: UsePythonVersion@0 displayName: Setup Python Env inputs: @@ -43,7 +50,7 @@ stages: set -ex pip -q install onefuzz onefuzz config --endpoint $(endpoint) --client_id $(client_id) --client_secret $(client_secret) - onefuzz template libfuzzer basic OpenConsole WriteCharsLegacy $GITHUB_SHA windows --target_exe Fuzzing\\x64\\test\\OpenConsoleFuzzer.exe + onefuzz template libfuzzer basic OpenConsole WriteCharsLegacy $GITHUB_SHA windows --target_exe $(artifactsPath)\\Fuzzing\\x64\\test\\OpenConsoleFuzzer.exe displayName: Submit OneFuzz Job env: client_id: client_id