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
Branch
external-jenkins-link-in-phabricator
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7183
Build 10137: arc lint + arc unit