Skip to content

Running sonarqube in GCP Vm Doesn't work well with jenkins #14

@devinshawntripp

Description

@devinshawntripp

Two issues in one here.

One is when you install docker and run sonarqube:lts the login screen refreshes for a while when entering in the credentials only after entering them maybe 50 or so times that the docker conatiner allows you to login via the web page but then you must do the same for the reset password page.

After you finally get into sonarqube and you add the sonar-token to jenkins as well as the webhook and set the jenkins file to run gradle with sonarqube the gradle always fails when trying to create a temp cache file:

2023-10-15T07:49:00.813+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.nio.file.NoSuchFileException: ?/.sonar/cache/_tmp/fileCache7888176502132802354.tmp
2023-10-15T07:49:00.813+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.sonarsource.scanner.api.internal.cache.FileCache.newTempFile(FileCache.java:136)

I have yet to find a solution to this after weeks of searching. Could you please help Deekshith

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions