Page MenuHomeSoftware Heritage

Jenkins: Create Harbomaster URI artifact with build job url
ClosedPublic

Authored by anlambert on Aug 7 2019, 1:54 PM.

Details

Summary

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):

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 D1827

Diff Detail

Repository
rCJSWH Jenkins jobs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Aug 7 2019, 1:54 PM
ardumont accepted this revision.Aug 7 2019, 2:20 PM
This revision is now accepted and ready to land.Aug 7 2019, 2:20 PM
This revision was automatically updated to reflect the committed changes.