-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-receive-pack not permitted when running candidate task with 16.0.0 #215
Comments
Found the culprit. We are also using gradle-git-properties plugin, during migration it was upgraded to the latest |
Having the exact same problem and can't resolve. Any updates here? Mine stems from having Nebula and se.bjurr.gitchangelog.git-changelog-gradle-plugin in the same build. When running in GitLab, I get the same "git-receive-pack not permitted" error. However, running locally, everything works fine... |
@WilliamsDL It's because GitLab does the clone with the password and user in the URL, so the remote URL contains it, which in turn overrides the credentials passed by grgit. I just spent two days to debug this. |
This seems to pop out more often. Our case was to have a spring-cloud-contract-gradle-plugin, which included newer version of the jgit library then the one used in grgit coming from nebula.release. For gradle builds you can check by running |
We are migrating our project from
nebula-release-plugin:13.0.0
to16.0.0
andgradle 7.2
Previous branch based on nebula release
13.0.0
andgradle 6.8
runs just fine, but with16.0.0
we are gettingWe are propagating the credentials via
GRGIT_USER
andGRGIT_PASS
environment variables, they ARE being picked up since I seeusing hardcoded credentials from system properties
log message when adding--info
option, the user is defined as projectowner
in gitlab.Please advice
The text was updated successfully, but these errors were encountered: