| # 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' |