Skip to content

v2.2.2 : for SQ 4.5.6+ LTS

Compare
Choose a tag to compare
@mildis mildis released this 21 Nov 09:02
· 110 commits to master since this release

This release is a major improvement of the plugin.
It includes major changes :

  • you can choose what value is voted for bad, neutral and good review
  • you can choose to automatically create a new branch in SQ when analyzing a branch in Gerrit
  • you can use SSH to interact with Gerrit (Gerrit v2.11+ only)

The settings for port, username and password have changed : they now defined by

  • GERRIT_PORT
  • GERRIT_USERNAME
  • GERRIT_PASSWORD

You should redefine them either in you job parameters and/or in the SonarQube settings.

To use SSH :

  • set « Server scheme » (GERRIT_SCHEME) to ssh
  • set the server port (GERRIT_PORT) to the SSH port of Gerrit
  • set the username used to interact with Gerrit
  • set the absolute path of the private SSH key to use. The matching public key is expected to be <private_key_name>.pub in the same directory.
  • if the private key requires a passphrase, use the password field for it. Leave empty otherwise.