ceph-csi/deploy/Makefile
Niels de Vos 9a01ee2019 ci: remove old jobs when deploying
Old jobs stay behind (and active) when jobs get updated with new
versions. This mostly affects the mini-e2e jobs at the moment.

There is no need to keep old job around, so delete them while deploying
updates to jobs.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-09-25 08:03:00 +00:00

9 lines
181 B
Makefile

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