Jenkins: Create Harbomaster URI artifact with build job url
By creating such an artifact, a link to the Jenkins job web interface will be made available when browsing the built commit or the associated Harbomaster Build in Phabricator.
I hot patched the swh-web
Jenkins configuration to showcase the results on
a sample commit. See the links below (notice the Jenkins links that appear):
-
https://forge.softwareheritage.org/rDWAPPS393deaa5b18c602a27a550836d7e05f049986804
-
https://forge.softwareheritage.org/harbormaster/build/10102/
-
https://forge.softwareheritage.org/harbormaster/build/10103/
This relies on using the harbormaster.createartifact endpoint from the Conduit API.
As it is currently not wrapped in pyarcanist, the call to the Conduit API is made using arcanist
directly.
Depends on !29 (closed)
Migrated from D1828 (view on Phabricator)