Branch: refs/heads/master
Home: https://github.com/jenkinsci/gerrit-code-review-plugin
Commit: c53550150be123d96751f2f5d5796e868c7be43c
https://github.com/jenkinsci/gerrit-code-review-plugin/commit/c53550150be123d96751f2f5d5796e868c7be43c
Author: Marcin Czech <[email protected]>
Date: 2024-02-26 (Mon, 26 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 imported projects, the change number can be
duplicated. Only the combination of the project name and change number
is unique. Using only the change number would cause Gerrit to look for
the change by a Lucene index lookup.
Indexes may not be consistent in real-time but are eventually
consistent, that means the CI can fail to locate the change because of
a temporary lag in the index update.
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
To unsubscribe from these emails, change your notification settings at
https://github.com/jenkinsci/gerrit-code-review-plugin/settings/notifications
--
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/heads/master/51d1ef-c53550%40github.com.