-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure Pipelines] Add wpt.fyi hooks for each individual job/run (#15498)
* [Azure Pipelines] Add wpt.fyi hooks for each individual job/run * Make job name unique * No dashes in job names
- Loading branch information
1 parent
37e794f
commit 8ba5533
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This job is used to get a run into wpt.fyi and staging.wpt.fyi, by notifying | ||
# them with the build number and artifact to use. | ||
|
||
parameters: | ||
dependsOn: '' | ||
artifactName: '' | ||
|
||
jobs: | ||
- job: ${{ parameters.dependsOn }}_hook | ||
displayName: 'wpt.fyi hook: ${{ parameters.artifactName }}' | ||
dependsOn: ${{ parameters.dependsOn }} | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
steps: | ||
- script: curl -s -S https://wpt.fyi/api/checks/azure/$(Build.BuildId)?artifact=${{ parameters.artifactName }} | ||
displayName: 'Invoke wpt.fyi hook' | ||
- script: curl -s -S https://staging.wpt.fyi/api/checks/azure/$(Build.BuildId)?artifact=${{ parameters.artifactName }} | ||
displayName: 'Invoke staging.wpt.fyi hook' |