1 Download and Upgrade to 15.0+ Series
2 New Features of ZenTao 15 Series
3 Interface Changes of 15 Series
4 Update to the Latest Version
5 Quick Start of 15 Series
6. Basic Application of Version 15
6.1 Beginner
6.2 Add Integrally
6.3 API Library
7. Base On The Roles
7.1. Admin
7.1.1 Edit Departments and Team Members
7.1.2 Edit Users
7.1.3 Edit Privilege
7.2. Program Leader
7.2.1 Create a Program
7.2.2 Link to Products
7.2.3 Create a Project
7.2.4 Manage Staffs
7.2.5 Add a Program Stakeholder
7.3. Product Owner
7.3.1 Create a Product
7.3.2 Edit Modules
7.3.3 Product Multi-branch/Platform Management
7.3.4 Edit Plans
7.3.5 Edit Stories
7.3.6 Review a Story
7.3.7 Create a Release
7.3.8 Tracking Progress
7.4. Project Manager
7.4.1 Edit Projects and Execution
7.4.2 Edit Teams
7.4.3 Link to Stories
7.4.4 Split Tasks
7.4.5 Tracking Progress
7.4.6 Waterfall Project
7.4.7 Kanban Project
7.5. Development Team
7.5.1 Apply for Tasks and Bugs
7.5.2 Update Status
7.5.3 Complete Tasks and Bugs
7.5.4 Submit Codes
7.5.5 The General Kanban, Story Kanban, Bug Kanban, and Task Kanban
7.6. Test Team
7.6.1 Edit Users' Case
7.6.2 Execute Users' Case
7.6.3 Submit a Bug
7.6.4 Test and Close a Bug
8. DevOps Features
8.1 Git/SVN Repository Management and Viewing Code
8.2. Integrate GitLab
8.2.1 Integrate GitLab, Bind Users, Link to Issues and Create a Build
8.2.2 Integrate GitLab and Submit the Merge Requests
8.2.3 GitLab Privilege in ZenTao
8.3 Integrate Jenkins and Create a Build
8.4 Integrate SonarQube
9 General Kanban
10. Backstage Settings of Version 15
10.1 Desktop
10.2 Model
10.3 Custom
10.4. Message
10.4.1 Mail
10.4.2 Webhook
10.4.3 Browser
10.4.4 Settings
10.5 Extension
10.6 Secondary Development
10.7 System
10.8 Import Jira Data
10.9 Registration Menu and Privilege
11. Privileges Management and Access Control of Version 15
11.1 Privileges Management and Access Control for Programs
11.2 Privileges Management and Access Control for Products
11.3 Privileges Management and Access Control for Projects
11.4 Privileges Management and Access Control for Executions
11.5 Access Control and Data Relationships for Projects and Executions

Integrate SonarQube

2022-02-08 16:04:12
Hongyan
1649
Last edited by Hongyan on 2022-03-07 16:13:52
Share links

Integrate SonarQube

SonarQube feature has been integrated since ZenTao 16.3.

 

You can add and maintain SonarQube servers, create SonarQube build tasks, and view SonarQube scan reports in ZenTao.

 

We will introduce the features of SonarQube in detail below.

1. Assign SonarQube privilege

Go to Admin--Member--Privilege to assign SonarQube privilege. 

2. Maintain SonarQube server

2.1 Create SonarQube server

Click on the "Create SonarQube" button in the top right corner of the SonarQube page. 

When creating a SonarQube server, the Server Name and Server Address are double-checked and the completed user credentials are verified to be correct. 

The SonarQube server list includes ID, Server Name, and Server Address. Action buttons include SonarQube Project List, Edit SonarQube, and Delete SonarQube. 

ID, Server Name, and Server Address can be sorted.

2.2 Edit SonarQube

Click on the ''Edit SonarQube'' button. 

When editing a SonarQube server, the Server Name and Server Address are double-checked and the completed user credentials are verified to be correct. 

2.3 Delete SonarQube

Click on the ''Delete SonarQube'' button. 

Pop-up window.

Click YES to delete it.

3. View the SonarQube project

Click on the ''SonarQube Project List'' button. 

Project Key, Project Name, and Last analysis time can be sorted.

 

Click on the "Back" button to go to the SonarQube server list page. 

Enter the project information and click on the "Search" button to search and view the project. 

Click on the ''Delete SonarQube Project'' button. 

Pop-up window.

Click YES to delete it.

4. Compile and create a job, view the check result

Go to Compile to create a job:

  • Engine: Jenkins
  • Frame: SonarQube
  • SonarQube Server: Select the corresponding SonarQube server from the drop-down menu
  • SonarQube Project: Select the SonarQube project to be associated with from the drop down menu
  • Only one build can be associated with the same code base or SonarQube project 

Execute SonarQube build tasks in the SonarQube project list page:

 

If the project is already associated with a SonarQube build task, then the "Exec SonarQube Job" button is displayed in the Action bar, and the corresponding SonarQube build task is executed when the button is clicked.

Execute SonarQube build tasks in Repo:

 

If the repository is associated with a SonarQube build task, then the "Exec SonarQube Job" button is displayed in the Action bar, and the corresponding SonarQube build task is executed when the button is clicked. 

View SonarQube code check results:


The "SonarQube Report" button is displayed on the Repo list page when a SonarQube build is associated with a codebase and the build has been successfully executed to generate a SonarQube check report.

 

Click on the "SonarQube Report" button to view the results of the test.

Write a Comment
Comment will be posted after it is reviewed.