ci: allow missing RUN_DISPLAY_URL variable in Jenkins Jobs

The `RUN_DISPLAY_URL` is automatically set by Jenkins, but it seems the
latest Jenkins Jobs Builder update does not detect it automatically.
Run the JJB commands with `--allow-empty-variables`.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2024-01-30 18:02:26 +01:00 committed by Niels de Vos
parent ad0a645324
commit 6baa675fa0

View File

@ -2,7 +2,7 @@ WORKDIR ?= $(CURDIR)/../
OUTPUT ?= $(WORKDIR)/_output/
test:
cd $(WORKDIR) && jenkins-jobs test -o $(OUTPUT) jobs
cd $(WORKDIR) && jenkins-jobs test --allow-empty-variables -o $(OUTPUT) jobs
deploy:
cd $(WORKDIR) && jenkins-jobs update --delete-old jobs
cd $(WORKDIR) && jenkins-jobs update --allow-empty-variables --delete-old jobs