Branch: refs/changes/71/1176671/2
Home: https://github.com/jenkinsci/gerrit-code-review-plugin
Commit: fad8c03131ffbad92c13a0bc2259ec094d70159e
https://github.com/jenkinsci/gerrit-code-review-plugin/commit/fad8c03131ffbad92c13a0bc2259ec094d70159e
Author: Marcin Czech <[email protected]>
Date: 2024-02-10 (Sat, 10 Feb 2024)
Changed paths:
M src/main/java/jenkins/plugins/gerrit/AbstractGerritSCMSource.java
M src/main/java/jenkins/plugins/gerrit/GerritChange.java
M src/main/java/jenkins/plugins/gerrit/GerritEnvironmentContributor.java
A src/main/java/jenkins/plugins/gerrit/GerritVersion.java
M src/main/java/jenkins/plugins/gerrit/ProjectChanges.java
M src/main/java/jenkins/plugins/gerrit/workflow/GerritCommentStep.java
M src/main/java/jenkins/plugins/gerrit/workflow/GerritReviewStep.java
A src/test/java/jenkins/plugins/gerrit/GerritVersionTest.java
R src/test/java/jenkins/plugins/gerrit/ProjectChangesTest.java
M src/test/java/jenkins/plugins/gerrit/workflow/GerritCommentStepTest.java
M src/test/java/jenkins/plugins/gerrit/workflow/GerritReviewStepTest.java
Log Message:
-----------
Use project name and change number as change id in Gerrit >=2.15
Gerrit doesn't guarantee that the change number is unique across
multiple projects. For example, for imported projects, the change
number can be duplicated. Only the combination of the project name
and change number is unique.
Starting from Gerrit version 2.15, the change id supports the following
format: project_name~change_number. Ensure that for Gerrit version
>=2.15, all REST API calls use the project~change_number format for
the change id.
Bug: JENKINS-72648
Change-Id: Iad06de2ad7c7146fcbc63a2fa6c3201d36237bec
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gerrit-code-review-plugin/push/refs/changes/71/1176671/2/000000-fad8c0%40github.com.