add a variable for SHA1, just to get going

This commit is contained in:
Carlos Zamora 2021-06-14 13:08:34 -07:00
parent 1030c062cf
commit 7719b1feeb

View file

@ -33,6 +33,7 @@ stages:
variables:
publishedArtifactsPath: drop
artifactsPath: $(Build.SourcesDirectory)Artifacts
commitSHA1: 01234 # TODO CARLOS: yeah, how do I get the SHA1?
jobs:
- job:
steps:
@ -50,7 +51,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 $(artifactsPath)/$(publishedArtifactsPath)/Fuzzing/x64/test/OpenConsoleFuzzer.exe
onefuzz template libfuzzer basic OpenConsole WriteCharsLegacy $(commitSHA1) windows --target_exe $(artifactsPath)/$(publishedArtifactsPath)/Fuzzing/x64/test/OpenConsoleFuzzer.exe
displayName: Submit OneFuzz Job
env:
client_id: client_id