ceph-csi/deploy/Makefile
Niels de Vos 9ce8d20da9 ci: cd into the WORKDIR before running jenkins-jobs
The directory that gets constructed can be like
`/opt/build/deploy/..//jobs` and this causes jenkins-jobs to fail.
Enternig the WORKDIR and passing the local ./jobs directory to
jenkins-jobs makes things clearer.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-27 14:09:08 +02:00

9 lines
168 B
Makefile

WORKDIR ?= $(CURDIR)/../
OUTPUT ?= $(WORKDIR)/_output/
test:
cd $(WORKDIR) && jenkins-jobs test -o $(OUTPUT) jobs
deploy:
cd $(WORKDIR) && jenkins-jobs update jobs