diff options
author | Matt Clay <matt@mystile.com> | 2021-04-27 17:03:43 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2021-05-04 10:13:37 -0700 |
commit | d8d20a2ff95547e11841e3fdd4f2d9caee9ade6c (patch) | |
tree | 2f327f1c7a20f0f45f3a18c321ae1bdc932f0469 /test | |
parent | 6afac6878c5fe179343095277171727358f0864e (diff) | |
download | ansible-d8d20a2ff95547e11841e3fdd4f2d9caee9ade6c.tar.gz |
[stable-2.9] Fix ansible-test AZP build lookup.
(cherry picked from commit 877e5b3dfe3d19d4fdd98e415a1d9b5c5efb204b)
Co-authored-by: Matt Clay <matt@mystile.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/ansible_test/_internal/ci/azp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/ci/azp.py b/test/lib/ansible_test/_internal/ci/azp.py index f2a9d206cc..b8d78ed2aa 100644 --- a/test/lib/ansible_test/_internal/ci/azp.py +++ b/test/lib/ansible_test/_internal/ci/azp.py @@ -230,9 +230,9 @@ class AzurePipelinesChanges: repositoryId='%s/%s' % (self.org, self.project), ) - url = '%s%s/build/builds?%s' % (self.org_uri, self.project, urlencode(parameters)) + url = '%s%s/_apis/build/builds?api-version=6.0&%s' % (self.org_uri, self.project, urlencode(parameters)) - http = HttpClient(self.args) + http = HttpClient(self.args, always=True) response = http.get(url) # noinspection PyBroadException |