mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
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:
parent
b5036489c8
commit
650d749d28
@ -16,7 +16,7 @@ projects branches.
|
|||||||
As an example, the `containerized-tests` Jenkins job consists out of the
|
As an example, the `containerized-tests` Jenkins job consists out of the
|
||||||
following files:
|
following files:
|
||||||
|
|
||||||
- `containerized-tests.yaml` is a [Jenkins Job Builder](jjb) configuration
|
- `jobs/containerized-tests.yaml` is a [Jenkins Job Builder](jjb) configuration
|
||||||
that describes the events when the job should get run and fetches the
|
that describes the events when the job should get run and fetches the
|
||||||
`.groovy` file from the git repository/branch
|
`.groovy` file from the git repository/branch
|
||||||
- `containerized-tests.groovy` is the [Jenkins Pipeline](pipeline) that
|
- `containerized-tests.groovy` is the [Jenkins Pipeline](pipeline) that
|
||||||
|
@ -2,7 +2,7 @@ WORKDIR ?= $(CURDIR)/../
|
|||||||
OUTPUT ?= $(WORKDIR)/_output/
|
OUTPUT ?= $(WORKDIR)/_output/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)
|
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)/jobs
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
jenkins-jobs update $(WORKDIR)
|
jenkins-jobs update $(WORKDIR)/jobs
|
||||||
|
Loading…
Reference in New Issue
Block a user