mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +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/
|
||||
|
||||
test:
|
||||
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)/jobs
|
||||
cd $(WORKDIR) && jenkins-jobs test -o $(OUTPUT) jobs
|
||||
|
||||
deploy:
|
||||
jenkins-jobs update $(WORKDIR)/jobs
|
||||
cd $(WORKDIR) && jenkins-jobs update jobs
|
||||
|
Loading…
Reference in New Issue
Block a user