Quantcast

How to test my changes before sending them to the server

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to test my changes before sending them to the server

Carlos Manuel Duclos Vergara
Hi,

This question might have already been asked and it might well be that we
missed something in the documentation, however we are facing a chicken
and egg problem and we don't know how to solve it.
We have a sonar installation and we integrated it with Jenkins. Our code
is analyzed in a continuous fashion and we get reports about the
problems found. However when we fix stuff, the only way to check if the
changes are going to improve the compliance or not, is by pushing to our
SCM, where Jenkins is going to get the changes and run the analysis.
We are looking at sonar-runner, but it also seems that is going to
contact the server and update the information there. The thing is we
want to allow developers to check the compliance on their machines
without having to update the sonar server. Is that possible? Or would we
updating the server all the time?

Thanks in advance

PS Not sure if this is any important, but our code is only C.

--
Carlos Manuel Duclos Vergara
Senior QA Engineer
[hidden email]
http://www.cfengine.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to test my changes before sending them to the server

Patroklos Papapetrou
Hi Carlos

You can have a local Sonar installation and before committing your changes to the SCM, run a local analysis (to the local Server installation) to see if it's acceptable to push it.
It's a practice we've adopted in some of our projects.
Hope that helps.
Regards
Patroklos


2012/10/31 Carlos Manuel Duclos Vergara <[hidden email]>
Hi,

This question might have already been asked and it might well be that we missed something in the documentation, however we are facing a chicken and egg problem and we don't know how to solve it.
We have a sonar installation and we integrated it with Jenkins. Our code is analyzed in a continuous fashion and we get reports about the problems found. However when we fix stuff, the only way to check if the changes are going to improve the compliance or not, is by pushing to our SCM, where Jenkins is going to get the changes and run the analysis.
We are looking at sonar-runner, but it also seems that is going to contact the server and update the information there. The thing is we want to allow developers to check the compliance on their machines without having to update the sonar server. Is that possible? Or would we updating the server all the time?

Thanks in advance

PS Not sure if this is any important, but our code is only C.

--
Carlos Manuel Duclos Vergara
Senior QA Engineer
[hidden email]
http://www.cfengine.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to test my changes before sending them to the server

Ann Campbell
Not sure what IDE you use - I use Eclipse for C - but the roadmap for the Sonar Eclipse plugin includes support for more languages than just Java. 

That doesn't help you today, but maybe "soon"...

---
G. Ann Campbell
Sr. Systems Engineer, IS Production Systems - Shop Floor Systems
Shaw Industries Inc,
201 S. Hamilton St.
Dalton Ga 30720



On Wed, Oct 31, 2012 at 6:19 AM, Patroklos Papapetrou <[hidden email]> wrote:
Hi Carlos

You can have a local Sonar installation and before committing your changes to the SCM, run a local analysis (to the local Server installation) to see if it's acceptable to push it.
It's a practice we've adopted in some of our projects.
Hope that helps.
Regards
Patroklos


2012/10/31 Carlos Manuel Duclos Vergara <[hidden email]>
Hi,

This question might have already been asked and it might well be that we missed something in the documentation, however we are facing a chicken and egg problem and we don't know how to solve it.
We have a sonar installation and we integrated it with Jenkins. Our code is analyzed in a continuous fashion and we get reports about the problems found. However when we fix stuff, the only way to check if the changes are going to improve the compliance or not, is by pushing to our SCM, where Jenkins is going to get the changes and run the analysis.
We are looking at sonar-runner, but it also seems that is going to contact the server and update the information there. The thing is we want to allow developers to check the compliance on their machines without having to update the sonar server. Is that possible? Or would we updating the server all the time?

Thanks in advance

PS Not sure if this is any important, but our code is only C.

--
Carlos Manuel Duclos Vergara
Senior QA Engineer
[hidden email]
http://www.cfengine.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





**********************************************************
Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail.
If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender.
Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company  or its subsidiaries.
**********************************************************

Loading...