Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9088337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:53:22+00:00 2026-06-16T21:53:22+00:00

I have a Jenkins and a Sonar server (version 3.4) running on my Server.

  • 0

I have a Jenkins and a Sonar server (version 3.4) running on my Server. Every time my Jenkins does a build a Sonar code analysis is triggered using the sonar-maven-plugin 2.0. I set up some custom sonar roles (Settings -> Security -> Roles) for my open source projects, so that anyone can see the results of these. But everytime a new analysis is done, sonar seems to forget this custom defined roles and applies the default ones, so anonymous users can not take a look at the statistics.

I’m running the Sonar analysis using the sonar-maven-plugin 2.0, from within Jenkins.
Does anyone know how to save the custom sonar roles permanently?

Default Roles:

Users: sonar-users

Code viewers: sonar-users

My Custom Roles:

Users: Anyone, sonar-users

Code viewers: Anyone, sonar-users

UPDATE: Sonar Version 3.4 / “Roles” are defined here: Settings -> Security -> Roles

sonar administration panel
sonar administration panel

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T21:53:23+00:00Added an answer on June 16, 2026 at 9:53 pm

    @Elton, this is in fact a critical bug introduced in Sonar 3.4 : http://jira.codehaus.org/browse/SONAR-4050. We’re going to fix it and version 3.4.1 should be available next week.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Java+Ant+Jenkins+Sonar. Sonar analyses our code during every night. Is it possible
we're using Jenkins as our build server. We have a Project which is built
I am using maven to build my java app, Jenkins for CI and Sonar
I have a Jenkins build which builds a maven project with -PmyProfile clean package
I have a big Maven multi-module build set up in my Jenkins. It is
I get the following error when running a build from jenkins: I have narrowed
I have a problem using Jenkins and Sonar. Here is my setup: a main
I have upgraded Sonar to version 3.3.1 from 3.0.1, and my code analisys jobs
I am using Jenkins+Sonar+Ant+java. I am now triggering a Sonar analysis from Jenkins during
does jenkins have a post build process such that the build WAR files can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.