[ftxtest] add support to get swarming task id from `build.Infra.Backend`

with the upcoming Buildbucket's swarming -> backend migration, the swarming task info in `build.Infra.Swarming` will be moved to `build.Infra.Backend` instead.

This CL will make sure the swarming task id can be retrieved from both builds running on raw swarming and backend.

Bug: 328639287, 326482303
Change-Id: I813798438d22d5be4c25178641d5ed2881b54d52
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/1005538
Reviewed-by: Vinicius Felizardo <felizardo@google.com>
Commit-Queue: Chan Li <chanli@google.com>
1 file changed
tree: b0b1099173a1d33f0e2b78e90b582f4d4c636014
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. issuetracker/
  11. rpcutil/
  12. scripts/
  13. slsa/
  14. third_party/
  15. vendor/
  16. .gitignore
  17. AUTHORS
  18. go.mod
  19. go.sum
  20. LICENSE
  21. manifest
  22. PATENTS
  23. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.