Closed tomaszkane closed 4 years ago
Where you have this jar from? There is one incompatible change: [1]. That why you need a JAR that is built againt plugin master. The plugin doesn't have yet stable-3.1 branch.
Can you use oauth plugin artifact from Gerrit CI: [2]?
[1] https://gerrit-review.googlesource.com/c/gerrit/+/208043 [2] https://gerrit-ci.gerritforge.com/view/Plugins-stable-3.1/job/plugin-oauth-bazel-master-stable-3.1
Where you have this jar from?
From most obvious place: https://github.com/davido/gerrit-oauth-provider/releases
I allreade rollback to 2.16.x and will back to upgrade in next week probably. Thanks for fast response.
I am in process of bumping the scribe-library dependency to 6.9.0 (from 1.3.7) in this CL: [1]. Could you give it a try? The final artifact is here: [2] (built against master and as thus is compatible with gerrit 3.1.x release).
[1] https://gerrit-review.googlesource.com/c/plugins/oauth/+/254372 [2] https://ostrovsky.org/gerrit/oauth-g801c00be4a.jar
@davido at least I have time to upgrade. Gerrit 3.1.6 + https://ostrovsky.org/gerrit/oauth-g801c00be4a.jar works fine.
Thanks.
Thanks for confirmation! Ideally, you would fetch the plugin from official Gerrit CI: [1]. There are also builds for the stable branches available.
[1] https://gerrit-ci.gerritforge.com/view/Plugins-master/job/plugin-oauth-bazel-master-master
Hi, recently I do upgrade:
After resolve few problems Gerrit start, but I cannot login via oauh Google - got "Server Error" with logs:
It's plugin or gerrit or some old config problem?