Skip to content
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

Raising a GradleException if git command writes to stderr is wrong #246

Open
oliverkuntze opened this issue Oct 25, 2023 · 0 comments
Open

Comments

@oliverkuntze
Copy link

In GitWriteCommandsUtil executeGitCommand you raise a GradleException if stderr is not empty.
Since git writes its log to stderr this is misleading/false behaviour.

We tag our release versions using nebula release. Despite everything works fine our Gitlab Runner communicates the raised exception and it's stacktrace.

Could you please fix this behaviour?

Good that you swallow the exception and the CI job succeeds nonetheless. In our case. In general it would be helpful if an exception would fail the Gradle task.
Renovate happily bumped nebula release's version and all pipelines were green until we wondered why our release pipeines were not triggered.

Cheers
Oliver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant