Search code examples
gerrit

Gerrit send underscore to Uploading Changes message


we're using gerrit 2.14, I'm trying to send a message with my push to trigger jenkins. problem is that I need to write bla_bla, but when I do:

git push ssh://link.to.repo/my_repo HEAD:refs/for/master%message=bla_bla

the message is "bla bla" I've tried percent encoding, but then the message is "bla%f5bla"

Any ideas? old gerrit version? something I can do?


Solution

  • As Marcelo Ávila de Oliveira mentioned, it seems it's not supported Gerrit 2.14

    ElpiKay workaround is good:

    ssh -p 29418 $username@$gerrithost gerrit review $commit -m "bla_bla"