Simple userscript that scans PR comments for the ones created by PRT bot and replaces the reported build number
by the link to the actual jenkins build.
-
switch to
advanced
mode in your TamperMonkey settings (it allows you to access and modify theStorage
of the extension) -
Navigate to script raw page and TamperMonkey should pop up with confirmation dialog to install the script
-
With the userscript installed and enabled, navigate to any GH PR page (a page of a specific PR) Hit refresh (an initial settings should be seeded)
-
Open TamperMonkey dashboard, click the installed script and navigate to the
Storage
tab -
replace
{JENKINS_URL}
with url to your jenkins instance (including schema). Keep{PROJECT}
unchanged as this is automatically expanded by the script. -
If you wish to keep the failed items collapsed by default switch
resultsLoadExpanded
to0
-
Hit
Save
-
Navigate to the target PR page and Hit reload to rerun the script
one needs to refresh the page for script to work (GH manipulates the existing DOM on navigation). GH does not seem to emit the pjax.end
event anymore. This is currently affecting all GH userscripts.