You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my projects where I call sonarToGerrit, sometimes I need to manually trigger a build (for whatever reason).
When I do that, Gerrit Trigger or the Gerrit Code Review Plugin will not inject their environment variables for sonarToGerrit to use and therefore the build will fail.
It would be nice if sonarToGerrit could silently fail if the build is NOT triggered by Gerrit and is missing those environment variables, just like the steps provided by the Gerrit Code Review plugin also does (like gerritReview).
By using the catchError step, you could even mark the step as failed (red), while yet keeping the original status of the stage or the pipeline (this is also what the Gerrit steps does).
Upstream changes
No response
The text was updated successfully, but these errors were encountered:
What feature do you want to see added?
On my projects where I call
sonarToGerrit
, sometimes I need to manually trigger a build (for whatever reason).When I do that, Gerrit Trigger or the Gerrit Code Review Plugin will not inject their environment variables for
sonarToGerrit
to use and therefore the build will fail.It would be nice if
sonarToGerrit
could silently fail if the build is NOT triggered by Gerrit and is missing those environment variables, just like the steps provided by the Gerrit Code Review plugin also does (likegerritReview
).By using the
catchError
step, you could even mark the step as failed (red), while yet keeping the original status of the stage or the pipeline (this is also what the Gerrit steps does).Upstream changes
No response
The text was updated successfully, but these errors were encountered: