You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: README.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,25 +59,6 @@ have their own Gerrit integration defined and working out-of-the-box.
59
59
No more people asking "how do I configure the Gerrit integration"? it
60
60
will just work.
61
61
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
-
81
62
## Jenkins Setup
82
63
83
64
### Using Multibranch Pipeline
@@ -159,6 +140,25 @@ discovered and made available to the pipeline steps.
159
140
For the pipeline projects (non-multibranch) the variables would need to be set through
160
141
an external triggering job (e.g. Gerrit Trigger Plugin).
161
142
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
+
162
162
## Jenkinsfile Steps
163
163
164
164
Gerrit Code Review plugin provides steps for allowing to post the
@@ -248,7 +248,12 @@ node {
248
248
}
249
249
```
250
250
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
252
257
253
258
I have presented the first prototype of this new plugin at the Jenkins
254
259
World Conference in San Francisco back in 2017 inside my "Data-Driven
@@ -517,8 +522,3 @@ feedback.
517
522
518
523
Support for BlueOcean, including change description, hyperlink and owner
519
524
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)
0 commit comments