Page MenuHomePhabricator

[TestSwarm] rename git jobs
Closed, ResolvedPublic

Description

Name of jobs, include gerrit change link (and if possible literal repo and branch name)

+ {REPO} <a href="https://gerrit.wikimedia.org/r/gitweb?p={REPO}.git;a=commit;h={SHA1_LONG}">#{SHA1_SHORT}</a> {BRANCH} (<a href="https://gerrit.wikimedia.org/r/{CHANGENR}">change {CHANGENR}, {PATCHNR})

Example:
Testswarm project table:
mediawiki/core #38bf8f3d master (change 4725, 5)
Job page name:
mediawiki/core #<a href="https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fcore.git;a=commit;h=38bf8f3dcb8e0cee21fb76ca57893f573fb97324">38bf8f3d</a> master (<a href="https://gerrit.wikimedia.org/r/4725">change 4725, 5</a>)


Version: unspecified
Severity: normal

Details

Reference
bz36143

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 12:26 AM
bzimport set Reference to bz36143.
hashar created this task.Apr 21 2012, 10:11 AM

Need a fix in the "new" testswarm submitter.

Repo: integration/testswarm.git
File: fetcher/testswarm-submit.php

There is a job_name parameter which receive a sprintf looking like 'MediaWiki Core <a href="%s">%.7s</a>'

Need to adapts it using the various variables above it.

hashar added a comment.Jul 4 2012, 7:54 AM

Fixed by Timo with Gerrit change #14156 and deployed on gallium with Gerrit change #14158.