Last modified: 2013-05-11 13:01:03 UTC
The Zuul configuration for Jenkins is simply a server parameter. That is used both to craft the reporting URLs and to do the API call. Ex: server=https://integration.wikimedia.org/ci/ That makes sense when crafting a status URL but that cause the internal API calls to Jenkins to use SSL and pass via the Apache frontend proxy. I did a patch a long time ago for Gerrit: https://review.openstack.org/#/c/16884/ that introduced a baseurl parameter. We could get a baseurl for jenkins that will be used when reporting an URL to a human and internally use the server. The resulting configuration would be: [jenkins] server=http://10.0.0.1:8080/ci baseurl=https://integration.wikimedia.org/ci
On second though, mabye the url_pattern is enough and we should simply update our server to point to the internal IP.
I have simply made Zuul query Jenkins directly with: https://gerrit.wikimedia.org/r/#/c/63069/ That makes this feature useless.