Skip to content

Commit 569fc89

Browse files
committed
Reorder Issues and Integrating with the Gerrit Checks plugin sections
Issues moved above Plugin Releases, to make it easier to find. "Integrating with the Gerrit Checks plugin" section moved to "Jenkins Setup" from "Why a new name?". Also fixed header level for Issues and Plugin Releases, it should be h2, that is section title, not h1, that is page title. Also changes some header levels
1 parent 6371d6f commit 569fc89

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,6 @@ have their own Gerrit integration defined and working out-of-the-box.
5959
No more people asking "how do I configure the Gerrit integration"? it
6060
will just work.
6161

62-
### Integrating with the Gerrit Checks plugin
63-
64-
The [Gerrit Checks plugin](https://gerrit-review.googlesource.com/Documentation/config-plugins.html#checks)
65-
provides a different approach to integrate CI systems with Gerrit. The
66-
GerritCodeReview-plugin supports the usage of the checks plugin, making it even
67-
more convenient to integrate automated verification into the code review.
68-
69-
To build changes with pending checks, create a new `Multibranch Pipeline` item
70-
and select `Branch Source` of type `Gerrit` as described above. Then add the
71-
`Filter by Pending Checks`-behaviour to the `Gerrit Branch Source`. To select
72-
checkers, which should be checked for whether their checks are pending, under
73-
`Query Operator` either select to query pending checks by checker scheme to
74-
select a whole group of checkers or by a specific checker UUID, to only query
75-
by a specific checker. In the `Query String`-field enter the scheme name or checker
76-
UUID respectively.
77-
78-
Jenkins will then only start builds for changes that have pending checks handled
79-
by the configured checkers and will set the status of the check to `SCHEDULED`.
80-
8162
## Jenkins Setup
8263

8364
### Using Multibranch Pipeline
@@ -159,6 +140,25 @@ discovered and made available to the pipeline steps.
159140
For the pipeline projects (non-multibranch) the variables would need to be set through
160141
an external triggering job (e.g. Gerrit Trigger Plugin).
161142

143+
### Integrating with the Gerrit Checks plugin
144+
145+
The [Gerrit Checks plugin](https://gerrit-review.googlesource.com/Documentation/config-plugins.html#checks)
146+
provides a different approach to integrate CI systems with Gerrit. The
147+
GerritCodeReview-plugin supports the usage of the checks plugin, making it even
148+
more convenient to integrate automated verification into the code review.
149+
150+
To build changes with pending checks, create a new `Multibranch Pipeline` item
151+
and select `Branch Source` of type `Gerrit` as described above. Then add the
152+
`Filter by Pending Checks`-behaviour to the `Gerrit Branch Source`. To select
153+
checkers, which should be checked for whether their checks are pending, under
154+
`Query Operator` either select to query pending checks by checker scheme to
155+
select a whole group of checkers or by a specific checker UUID, to only query
156+
by a specific checker. In the `Query String`-field enter the scheme name or checker
157+
UUID respectively.
158+
159+
Jenkins will then only start builds for changes that have pending checks handled
160+
by the configured checkers and will set the status of the check to `SCHEDULED`.
161+
162162
## Jenkinsfile Steps
163163

164164
Gerrit Code Review plugin provides steps for allowing to post the
@@ -248,7 +248,12 @@ node {
248248
}
249249
```
250250

251-
# Plugin Releases
251+
## Issues
252+
253+
The issues are tracked on the [Jenkins Issues portal](https://issues.jenkins-ci.org/issues/?jql=project%20%3D%20JENKINS%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20gerrit-code-review-plugin)
254+
under the `gerrit-code-review-plugin` component.
255+
256+
## Plugin Releases
252257

253258
I have presented the first prototype of this new plugin at the Jenkins
254259
World Conference in San Francisco back in 2017 inside my "Data-Driven
@@ -517,8 +522,3 @@ feedback.
517522

518523
Support for BlueOcean, including change description, hyperlink and owner
519524
visible from Jenkins UI.
520-
521-
# Issues
522-
523-
The issues are tracked on the [Jenkins Issues portal](https://issues.jenkins-ci.org/issues/?jql=project%20%3D%20JENKINS%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20gerrit-code-review-plugin)
524-
under the `gerrit-code-review-plugin` component.

0 commit comments

Comments
 (0)