ci: fix Blue Ocean status-url for JJB templates

As ${RUN_DISPLAY_URL} also matches the format for template
substitutions, it can not be used like this for all Jenkins Jobs Builder
files. Instead, $RUN_DISPLAY_URL can be used, as it does not have the
{curly_braces} format and the template engine skips it.

Fixes: 87870369 (ci: link to the job in the Blue Ocean webui)
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-04 10:39:54 +01:00 committed by mergify[bot]
parent f67ece89a9
commit 2ad602e9f2
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: ${RUN_DISPLAY_URL}
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e/k8s-{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/mini-e2e(/k8s-{k8s_version})?))'
@ -77,7 +77,7 @@
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: ${RUN_DISPLAY_URL}
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/mini-e2e-helm(/k8s-{k8s_version})?))'

View File

@ -48,7 +48,7 @@
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: ${RUN_DISPLAY_URL}
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/upgrade-tests-{test_type}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/upgrade-tests(-{test_type})?))'