Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Gerrit repository changes author #3715

godfryd ·
Hello,

I'm trying to get author of the changes in groovy.
echo "user: ${build.getChanges()[0].getUser()}"
But it seems that it doesnt work.
The command ""user: ${build.getChanges()}"" returns:
"user: []"

How to get an author who introduced changes to Gerrit repository?

Regards,
Michal
  • replies 1
  • views 317
  • stars 0
robinshen ADMIN ·
QB can not get changes introduced in gerrit repository as gerrit changes are patch sets and we can not get a base revision for change calculation in the normal way.