mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-03-21 06:39:28 +00:00
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>
This commit is contained in:
parent
7a7d45cd67
commit
9ce8d20da9
@ -2,7 +2,7 @@ WORKDIR ?= $(CURDIR)/../
|
|||||||
OUTPUT ?= $(WORKDIR)/_output/
|
OUTPUT ?= $(WORKDIR)/_output/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)/jobs
|
cd $(WORKDIR) && jenkins-jobs test -o $(OUTPUT) jobs
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
jenkins-jobs update $(WORKDIR)/jobs
|
cd $(WORKDIR) && jenkins-jobs update jobs
|
||||||
|
Loading…
Reference in New Issue
Block a user