mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
9ce8d20da9
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>
9 lines
168 B
Makefile
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
|