@PLUGIN@ - Logs a message when running the Gerrit SSH Command Ban-Commit
ssh -p <port> <host> gerrit ban-commit <PROJECT> <COMMIT> --@PLUGIN@--log <VAL>
Output in Server Log (ERROR): “Say Hello in the Log test”.
--@PLUGIN@--log
Say Hello in the Log.
Any user who has configured an SSH key.
This command is intended for test purposes.
Have the server say hi to the world.
$ ssh -p 29418 review.example.com gerrit ban-commit tools/test/project0 8b0b75b90ea7b363410a5c5100aace55adfa3b7e --example-sshCommandOption--log test
LOG:
ERROR com.googlesource.gerrit.plugins.examples.sshcommandoption.SshModule : Say Hello in the Log test
Part of Gerrit Code Review