diff --git a/source/Nuke.Common/Tools/SonarScanner/SonarScanner.json b/source/Nuke.Common/Tools/SonarScanner/SonarScanner.json index 089abbebf..f66f650a4 100644 --- a/source/Nuke.Common/Tools/SonarScanner/SonarScanner.json +++ b/source/Nuke.Common/Tools/SonarScanner/SonarScanner.json @@ -66,6 +66,13 @@ "secret": true, "help": "Specifies the password for the SonarQube username in the sonar.login argument. This argument is not needed if you use authentication token. If this argument is added to the begin step, it must also be added on the end step." }, + { + "name": "Token", + "type": "string", + "format": "/d:sonar.token={value}", + "secret": true, + "help": "Specifies the authentication token used to authenticate with to SonarQube. If this argument is added to the begin step, it must also be added to the end step." + }, { "name": "Verbose", "type": "bool", @@ -313,6 +320,13 @@ "secret": true, "help": "Specifies the password for the SonarQube username in the sonar.login argument. This argument is not needed if you use authentication token. If this argument is added to the begin step, it must also be added on the end step." }, + { + "name": "Token", + "type": "string", + "format": "/d:sonar.token={value}", + "secret": true, + "help": "Specifies the authentication token used to authenticate with to SonarQube. If this argument is added to the begin step, it must also be added to the end step." + }, { "name": "ClientCertificatePassword", "type": "string",