> For the complete documentation index, see [llms.txt](https://oklencodes.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oklencodes.gitbook.io/untitled/devops/using-aws-docker-jenkins-and-sonarqube-to-improve-code-quality/manaing-sonarqube-and-jenkins.md).

# Manaing SonarQube and Jenkins

You can select the bottom option of “continue as admin”

Now go to manage Jenkins and select plugins

<figure><img src="/files/PRN8isoFqvgSTrOPTTpx" alt=""><figcaption></figcaption></figure>

Then go to available plugins and type the following

*Eclipse Temurin installerVersion1.5*

*openJDK-native-pluginVersion1.8*

*OWASP Dependency-CheckVersion5.5*

*DockerVersion1.6*

*Docker PipelineVersion572.v950f58993843*

*docker-build-stepVersion2.11*

*CloudBees Docker Build and PublishVersion1.4.0*

*SonarQube ScannerVersion2.17*

<figure><img src="/files/eUve4UMTGNYlyYoIHOn6" alt=""><figcaption></figcaption></figure>

Most of these are for CI/CD things which I might integrate later but they are some good to haves now, just to ensure things go ok

Now back to the manage jenkins section and select tools then click add

Provide a name, leave Install automatically checked and choose version 5.0.1 from the Maven Central dropdown box. Now click Apply and Save.

<figure><img src="/files/7SiG23BN0klWXD4LpS7j" alt=""><figcaption></figcaption></figure>

We need to need to generate a SonarQube token. Head over to the SonarQube console and click on the Administration tab, Security then Users.

<figure><img src="/files/CRkN7L90Ve8yR4SgfUl8" alt=""><figcaption></figcaption></figure>

Select on the far right where it says tokens and then provide a name before then selecting generate

<figure><img src="/files/m01VmRaAWCx3YwvlDrwt" alt=""><figcaption></figcaption></figure>

Go back to the Jenkins console and go to Manage Jenkins, Credentials, Global

<figure><img src="/files/qOPDppxFZx3k4CGS3uSH" alt=""><figcaption></figcaption></figure>

and Add Credentials.

<figure><img src="/files/hEf3N5gaGpQtwLSP1zOn" alt=""><figcaption></figcaption></figure>

Now select create

<figure><img src="/files/MA5mYYbcPM32xXKGnrhi" alt=""><figcaption><p>Result</p></figcaption></figure>

Let’s configure the SonarQube server within **System** in Manage Jenkins.

<figure><img src="/files/r1gfRvny9PBsBY6SLyo5" alt=""><figcaption></figcaption></figure>

Scroll down to SonarQube servers and click on Add SonarQube.&#x20;

Now provide a name then paste in the SonarQube URL (Public IP of instance + :9000).

<figure><img src="/files/OsxzI5F8xgD1ZmPr1Irb" alt=""><figcaption></figcaption></figure>

And in the Server authentication section, select the token the Apply and Save.

<figure><img src="/files/g5xaFESf81UzQhQ4iKyE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xVq2Fcs7cbELaYxsMbXZ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5nkTYuFhiJKYoImHycsH" alt=""><figcaption></figcaption></figure>

IT HAS FAILED.&#x20;

Need to understand why another time.

But what would ideally happen is

and before going to production I would get the SonarQube results here constantly updated

<figure><img src="/files/kuXi9tzWjrFIcbtmiLYE" alt=""><figcaption></figcaption></figure>

good example is this source [https://community.sonarsource.com/](https://community.sonarsource.com/t/marking-500-issues-of-same-type-in-a-file-as-resolve-wont-fix-at-a-time/47098)

<figure><img src="/files/P4sDndg1I7ERln259OjO" alt=""><figcaption></figcaption></figure>

Thank you


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://oklencodes.gitbook.io/untitled/devops/using-aws-docker-jenkins-and-sonarqube-to-improve-code-quality/manaing-sonarqube-and-jenkins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
