-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sonar-redmine can work with Redmine 3.0.3 #14
Comments
I would not guarantee it. The plugin is build against the Redmine REST API 1.19 and it is tested with Redmien 2.2.0 and 2.3.0. |
Hello, Error : "Missing parameter: resource" While integrating Sonar with Redmine, At Project level, go to Administration -> Redmine Configuration Page is not loading, Instead of that am getting the above error message on browser. I am using following versions, Please help me on this, Regards, |
I'm seeing the same error: but I'm on redmine 2.5.2 with sonarqube 5.2 |
Same issue with "Missing parameter: resource" |
For those who have the same issue, I have found a workaround until this is fixed. In the top url, you need to replace the GET paramater 'id' by 'resource'. So insterad of http://{sonar_url}/redmine_configuration?id={project} Replace 'id' with 'resource' http://{sonar_url}/redmine_configuration?resource={project} |
Thanks omji. It helps. |
Hi, I have answered your question on stackoverflow. You basically need to setup the projet key and make sure you hit 'save settings'. BUT! Once you connect succesfully, you still wont be fully done unfortunately :-( The plugin is outdated so the link it generates in the redmine ticket wont work. In order to fix it, I had to cheat with a dirty hack... If you want to do the same, you will need to get the code from github, then modify this file: https://github.com/SonarQubeCommunity/sonar-redmine/blob/master/src/main/java/org/sonar/plugins/redmine/reviews/RedmineIssueFactory.java Line 71, change sb.append("/issue/show/"); to sb.append("/issues/search#issues="); And then comes the tricky part, you will need to compile using maven! And replace the plugin file in youyr sonar install with the .jar you generated, in my case: /opt/sonar/extensions/plugins/sonar-redmine-plugin-0.2.jar If you want I can give you my fixed .jar, although I am not a Java / Maven dev. It works fine for me, but not sure I did it the best way. Once again its not ideal, but hope it helps :-( |
Thank you very much for your answer. I found solution: http://stackoverflow.com/questions/34897471/sonarqube-redmine-plugin-connection-error Now I have a new problem. On my new created issue, I have a bad link to sonar, something like this: Hi, I have answered your question on stackoverflow. You basically need to setup the projet key and make sure you hit 'save settings'. BUT! Once you connect succesfully, you still wont be fully done unfortunately :-( The plugin is outdated so the link it generates in the redmine ticket wont work. In order to fix it, I had to cheat with a dirty hack... If you want to do the same, you will need to get the code from github, then modify this file: https://github.com/SonarQubeCommunity/sonar-redmine/blob/master/src/main/java/org/sonar/plugins/redmine/reviews/RedmineIssueFactory.java Line 71, change sb.append("/issue/show/"); to sb.append("/issues/search#issues="); And then comes the tricky part, you will need to compile using maven! And replace the plugin file in youyr sonar install with the .jar you generated, in my case: /opt/sonar/extensions/plugins/sonar-redmine-plugin-0.2.jar If you want I can give you my fixed .jar, although I am not a Java / Maven dev. It works fine for me, but not sure I did it the best way. Once again its not ideal, but hope it helps :-( — |
I have answered this last 404 issue already, I knew you would face it. Please read my previous post again :-) |
Yes, you are wright! Maybe you khow how to resolve a problem with link in redmine issue? 16 февраля 2016, 12:22:44, от "Guillaume Pousseo" < [email protected] >: I have answered this last issue already, I knew you would face it. Please read my previous post again :-) — |
Yes, I have explained in details how to solve this: which code line to change, how to compile and re-install plugin. I even proposed my .jar file. Please read my comment again, its all there. |
I can`t find a .jar file. Please give me your fixed .jar file. Thanks :) 16 февраля 2016, 13:04:42, от "Guillaume Pousseo" < [email protected] >: Yes, I have explained in details how to solve this: which code line to change, how to compile and re-install plugin. I even proposed my .jar file. Please read my comment again, its all there. — |
Hi, I didnt post it, as I said I wasn't sure you wanted it. Once again, I am not a java / maven specialist. File is in the attached zip. |
Hello but I really want to modify the plugin source or sonarqube source. How can I do? |
add "s" to string:
|
Hello,
Could you please let me know sonar-redmine can work with Redmine 3.0.3(Rails 4) ?
Thanks
Akeel
The text was updated successfully, but these errors were encountered: