The Quality Gate Installer serves some command line arguments which makes it possible to install a quality gate without interactions.

Name

Long Name

Required

Description

-url--baseurlTrueThe url to your SonarQube instance. This should be either yoururl.here[:PORT] or http[s]://yoururl.here[:PORT]/
-u--userTrueA username for a user with the Administer Quality Gates permission (default: admin)
-p--passTrueThe password for the above mentioned user (default: admin)
-o
FalseDecide whether to delete the current quality gate and overwrite it with a new one. Adding the "-o" flag will overwrite the current quality gate.
  • No labels