Skip to content

Instantly share code, notes, and snippets.

@baymac
Created June 6, 2019 23:12
Show Gist options
  • Save baymac/934417304e1f03ae09e363be1ffb6171 to your computer and use it in GitHub Desktop.
Save baymac/934417304e1f03ae09e363be1ffb6171 to your computer and use it in GitHub Desktop.
[INFO] --- spotbugs-maven-plugin:3.1.11:check (spotbugs) @ gitlab-branch-source ---
[INFO] BugInstance size is 2
[INFO] Error size is 0
[INFO] Total bugs: 2
[ERROR] Unread field: io.jenkins.plugins.gitlabserver.credentials.PersonalAccessTokenImpl$DescriptorImpl.GITLAB_ACCESS_TOKEN_LENGTH; should this field be static? [io.jenkins.plugins.gitlabserver.credentials.PersonalAccessTokenImpl$DescriptorImpl] At PersonalAccessTokenImpl.java:[line 67] SS_SHOULD_BE_STATIC
[ERROR] Inconsistent synchronization of io.jenkins.plugins.gitlabserver.servers.GitLabServers.servers; locked 80% of time [io.jenkins.plugins.gitlabserver.servers.GitLabServers, io.jenkins.plugins.gitlabserver.servers.GitLabServers, io.jenkins.plugins.gitlabserver.servers.GitLabServers, io.jenkins.plugins.gitlabserver.servers.GitLabServers, io.jenkins.plugins.gitlabserver.servers.GitLabServers] Unsynchronized access at GitLabServers.java:[line 48]Synchronized access at GitLabServers.java:[line 111]Synchronized access at GitLabServers.java:[line 84]Synchronized access at GitLabServers.java:[line 84]Synchronized access at GitLabServers.java:[line 85] IS2_INCONSISTENT_SYNC
[INFO]
To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:06 min
[INFO] Finished at: 2019-06-07T04:41:00+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.11:check (spotbugs) on project gitlab-branch-source: failed with 2 bugs and 0 errors -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment