Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The reason for this is that communication with Gerrit might be lost under
high-load situations when using recent Java7 releases.
The issue that occurs is the "verify:false" problem outlined in the
changelog for 0.1.51:
http://www.jcraft.com/jsch/ChangeLog
The actual error that will appear runs like this:
Feb 02, 2015 2:42:20 PM com.sonymobile.tools.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob sendCommand
SEVERE: Could not run command gerrit approve 60123,1 --message 'Build Successful
[...]
https://[URL]/job/[JOB]/2502/ : SUCCESS' --verified 1 --code-review 0
java.io.IOException: Error during sending command
[...]
Caused by: com.sonymobile.tools.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: verify: false
Updating to 0.1.51 fixes this issue.