-
Notifications
You must be signed in to change notification settings - Fork 28
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
Clean repo: marked as not clean #95
Comments
This is probably a difference between JGit and C Git. If you add a little task to print out the status from Grgit, you should see what it thinks is modified: task status {
doLast {
println grgit.status()
}
} |
Great, that was indeed the case! I had a subfolder with its own git repo. Thx! |
Hi, Im having the same issue when using reckon as part of a Jenkins pipeline. I have tried to add the task status as above, but that does not execute before the pipeline fails. When I run the status task locally the repo appears clean. I have tried to clean the repo using commits such as git clean and so on, but it is still failing. Would you be able to suggest what might fix this?
Thank you |
In my case the cause was an untracked file in a submodule. While I have |
Thank you for your answer. I found the problem, there was a file being produced during the pipeline which I wasn't seeing - just had to add it to the .gitignore file and it worked great. |
jgit doesn't play well with cygwin and filemodes. It decided that my |
Hi
I've been trying to get this plugin working for me, without success.
gradle:
DEBUG logs show the git repo being detected correctly:
As far as I can tell from the code, the git repo is marked as not clean. But I have no idea why.
Even if I have everything pushed to origin, I still get the same output.
The text was updated successfully, but these errors were encountered: