As a Jenkinsfile developer
Given a Jenkins with the Gerrit Code Review plugin installed
When I write a declarative pipeline using a Gerrit SCM sourc
Then I am expecting it to run out-of-the-box with a declarative pipeline
And have the status of the pipeline execution reported to Gerrit
Because of the way it is currently implemented, it is compatible only with the scripted pipeline. Use the Pipeline Utility Steps as a reference and reimplement the Gerrit.groovy logic in a pure Java class.