-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete features moved to the SonarQube extension #6060
Conversation
Tasks/Gradle/task.json
Outdated
}, | ||
{ | ||
"name": "sqGradlePluginVersion", | ||
"aliases": [ "sonarQubeGradlePluginVersion" ], | ||
"type": "string", | ||
"label": "SonarQube Gradle Plugin Version", | ||
"type": "pickList", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PickList seems like a bad idea for version which might change going forward. You can have a radio button for "Use plugin applied in your build.gradle" or "Specify version number" and default the the specific version number to 2.6.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
dcd1031
to
50ca2f4
Compare
Tasks/Gradle/task.json
Outdated
"Major": 1, | ||
"Minor": 128, | ||
"Major": 2, | ||
"Minor": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update minor version to "130"
Tasks/Maven/task.json
Outdated
"Major": 1, | ||
"Minor": 128, | ||
"Major": 2, | ||
"Minor": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update minor version to 130
f3ae9f4
to
7e8827e
Compare
7e8827e
to
b07777d
Compare
Tasks/Gradle/task.json
Outdated
"required": true, | ||
"defaultValue": "false", | ||
"groupName": "CodeAnalysis", | ||
"helpMarkDown": "Run a [SonarQube analysis](https://go.microsoft.com/fwlink/?LinkID=708598) after executing the current goals. 'install' or 'package' goals should be executed first." | ||
"helpMarkDown": "Run a [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing the current tasks. You have to add the `Prepare Analysis Configuration` task of the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions in your build definition before this Gradle task." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidstaheli : Any feedback/suggestions on this help text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please change this as follows to explain how the behavior changed from version 1 of the Gradle task?
This option has changed from version 1 of the **Gradle** task to use the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) and [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) marketplace extensions. Enable this option to run [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing tasks in the **Tasks** field. You must also add a **Prepare Analysis Configuration** task from one of the extensions to the build definition before this Gradle task.
Tasks/Maven/task.json
Outdated
"required": true, | ||
"defaultValue": "false", | ||
"groupName": "CodeAnalysis", | ||
"helpMarkDown": "Run a [SonarQube analysis](https://go.microsoft.com/fwlink/?LinkID=708598) after executing the current goals. 'install' or 'package' goals should be executed first." | ||
"helpMarkDown": "Run a [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing the current goals. `install` or `package` goals should be executed first. You have to add the `Prepare Analysis Configuration` task of the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions in your build definition before this Maven task." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please change this as follows to explain how the behavior changed from version 1 of the Maven task?
This option has changed from version 1 of the **Maven** task to use the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) and [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) marketplace extensions. Enable this option to run [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing goals in the **Goals** field. The **install** or **package** goal should run first. You must also add a **Prepare Analysis Configuration** task from one of the extensions to the build definition before this Maven task.
Tasks/Gradle/task.json
Outdated
"required": true, | ||
"defaultValue": "false", | ||
"groupName": "CodeAnalysis", | ||
"helpMarkDown": "Run a [SonarQube analysis](https://go.microsoft.com/fwlink/?LinkID=708598) after executing the current goals. 'install' or 'package' goals should be executed first." | ||
"helpMarkDown": "Run a [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing the current tasks. You have to add the `Prepare Analysis Configuration` task of the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions in your build definition before this Gradle task." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please change this as follows to explain how the behavior changed from version 1 of the Gradle task?
This option has changed from version 1 of the **Gradle** task to use the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) and [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) marketplace extensions. Enable this option to run [SonarQube or SonarCloud analysis](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) after executing tasks in the **Tasks** field. You must also add a **Prepare Analysis Configuration** task from one of the extensions to the build definition before this Gradle task.
* Delete features moved to the SonarQube extension * Use a radio to specify Gradle scanner version * Use a radio to select Maven Scanner version + clean Gradle tests * Remove option to specify Maven Scanner version * Change minor task version to 130 * Improve documentation * Commit files generated during the build * Apply David's feedback
* Delete features moved to the SonarQube extension (#6060) * Delete features moved to the SonarQube extension * Use a radio to specify Gradle scanner version * Use a radio to select Maven Scanner version + clean Gradle tests * Remove option to specify Maven Scanner version * Change minor task version to 130 * Improve documentation * Commit files generated during the build * Apply David's feedback * Fix legacy Maven tests to remove legacy SonarQube integration tests (#6343)
This pull request is the consequence of the last release of the new SonarQube and SonarCloud VSTS extensions. Configuration of the SonarQube analysis for Maven/Gradle as well as the analysis report publishing in VSTS dashboard are now handled by those extensions.
Support of pull request decoration will come later (probably as a SonarQube server side feature).