Add match for "-" in pipeline name

We have pipelines like e.g. "check-tripleo" that would like to be
matched in the Gerrit UI.

Change-Id: Id0613813945590e399c223aae7bf2e69b9cfd222
This commit is contained in:
Jens Harbott 2017-10-24 10:21:04 +00:00
parent 0944b559fd
commit 17e0b0aef1

View File

@ -26,7 +26,7 @@ var trustedCIRegex = /^(OpenStack CI|Jenkins|Zuul)$/;
// this regex matches the name+pipeline that we want at the top of the CI list
var firstPartyCI = /^(Jenkins|Zuul)/;
// this regex matches the pipeline markup
var pipelineNameRegex = /Build \w+ \((\w+) pipeline\)/;
var pipelineNameRegex = /Build \w+ \(([-\w]+) pipeline\)/;
// The url to full status information on running jobs
var zuulStatusURL = 'http://status.openstack.org/zuul';
// The json URL to check for running jobs