mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-29 17:50:23 +00:00
6e38694a11
Jenkins Jobs Builder fails like this, indicating the order of the parameters is important: ``` $ jenkins-jobs update --allow-empty-variables --delete-old jobs usage: jenkins-jobs [-h] [--conf CONF] [-l LOG_LEVEL] [--ignore-cache] [--flush-cache] [--version] [--allow-empty-variables] [--server SECTION] [--user USER] [--password PASSWORD] {delete,delete-all,get-plugins-info,list,test,update} ... jenkins-jobs: error: unrecognized arguments: --allow-empty-variables ``` Signed-off-by: Niels de Vos <ndevos@ibm.com>
9 lines
229 B
Makefile
9 lines
229 B
Makefile
WORKDIR ?= $(CURDIR)/../
|
|
OUTPUT ?= $(WORKDIR)/_output/
|
|
|
|
test:
|
|
cd $(WORKDIR) && jenkins-jobs --allow-empty-variables test -o $(OUTPUT) jobs
|
|
|
|
deploy:
|
|
cd $(WORKDIR) && jenkins-jobs --allow-empty-variables update --delete-old jobs
|