Bug 1530834 [wpt PR 15522] - [Azure Pipelines] Put artifact name in urlencoded POST body, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 06 Mar 2019 12:35:54 +0000
changeset 464664 70fc9e4d62dd
parent 464663 df46e8c9bc56
child 464665 e1c49ed3584b
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1530834, 15522
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1530834 [wpt PR 15522] - [Azure Pipelines] Put artifact name in urlencoded POST body, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Put artifact name in urlencoded POST body (#15522) ... instead of in the query string. This will probably resolve the "POST requests require a Content-length header" problem [1] assuming that the cause is a version of curl that doesn't send the header if the request has no body. [1] https://dev.azure.com/web-platform-tests/wpt/_build/results?buildId=7671 -- wpt-commits: 5803f5e36a2d8ff3d06e135f39803f9d282fb520 wpt-pr: 15522
testing/web-platform/tests/tools/ci/azure/fyi_hook.yml
--- a/testing/web-platform/tests/tools/ci/azure/fyi_hook.yml
+++ b/testing/web-platform/tests/tools/ci/azure/fyi_hook.yml
@@ -7,12 +7,12 @@ parameters:
 
 jobs:
 - job: ${{ parameters.dependsOn }}_hook
   displayName: 'wpt.fyi hook: ${{ parameters.artifactName }}'
   dependsOn: ${{ parameters.dependsOn }}
   pool:
     vmImage: 'ubuntu-16.04'
   steps:
-  - script: curl -s -S -X POST https://wpt.fyi/api/checks/azure/$(Build.BuildId)?artifact=${{ parameters.artifactName }}
+  - script: curl -s -S -d "artifact=${{ parameters.artifactName }}" -X POST https://wpt.fyi/api/checks/azure/$(Build.BuildId)
     displayName: 'Invoke wpt.fyi hook'
-  - script: curl -s -S -X POST https://staging.wpt.fyi/api/checks/azure/$(Build.BuildId)?artifact=${{ parameters.artifactName }}
+  - script: curl -s -S -d "artifact=${{ parameters.artifactName }}" -X POST https://staging.wpt.fyi/api/checks/azure/$(Build.BuildId)
     displayName: 'Invoke staging.wpt.fyi hook'