ci: move the Jenkins Job Builder .yaml files under jobs/

There is a new .commitlintrc.yml file in the root of the repository.
This causes jenkins-job-builder to complains that the file is not
confirm the Jenkins Job Builder format/specification.

    jenkins_jobs.errors.JenkinsJobsException: The topmost collection in file '/opt/build/.commitlintrc.yml' must be a list, not a <class 'collections.OrderedDict'>

Move all Jenkins Job Builder .yaml files to jobs/ so that all the
Jenkins job configurations are kept together without other files.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2020-05-27 13:16:08 +02:00
parent b5036489c8
commit 650d749d28
6 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ WORKDIR ?= $(CURDIR)/../
OUTPUT ?= $(WORKDIR)/_output/
test:
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)/jobs
deploy:
jenkins-jobs update $(WORKDIR)
jenkins-jobs update $(WORKDIR)/jobs