SonarQube Upgrade 4.0

SonarUpgrade4.0 The last post about SonarQube described an update of version. Unfortunately, I was a bit late between the time I did the upgrade and when I wrote the post, so that in the meantimes, a new version of SonarQube has been available.

This is a version 4.0 (so, a major one), that I did install this weekend. And as I did some errors, this is an opportunity to update this post SonarQube upgrade and to document these error messages and how I solved them.

I will not detail all the steps of upgrade as in the previous article, but simply specify the errors encountered. Continue reading

SonarQube Upgrade

SonarUpgradeImg2
After preparing the upgrade of our SonarQube version in the previous post, about upgrade prerequisites, which allowed us to present how to make a backup of our Oracle database (or at least of the Sonar schema), we will see now how to perform this upgrade.

Remember that you can always consult the documentation on this subject since the SonarSource site. This procedure changes very rarely, but I recommend that you always refer to it, in case this article would become obsolete.

Also, our will realize an upgrade of SonarQube installed as a Windows service.

Continue reading

SonarQube upgrade – Prerequisites

SonarUpgradeImg

We have seen previously how to migrate SonarQube from Tomcat to a Windows service and how to use SonarQube as a Windows service with Jenkins under Tomcat,

I did use the same release 3.5.1 to perform this migration from Tomcat to a Windows service, and as it is already old, this will be an opportunity to make an upgrade of Sonarqube and update our environment with new versions of plugins.

I will document this operation in two articles, including this first one to present the steps to prepare our upgrade. This will also be the opportunity to see how to do an Oracle backup. Continue reading

Working from home

WorkingHome I have been involved into an interesting conversation on LinkedIn about working from home and if the Cloud could help going into that direction. I was surprised by the number of people interested into this subject.

Some months ago in February, Yahoo CEO Marissa Mayer announced a ban on working from home. Now, Hewlett-Packard CEO Meg Whitman announced that she wants everyone to work at the office. She justified it saying that “During this critical turnaround period, HP needs all hands on deck.”

Which I think is funny because this supposes implicitly that you’re ‘hands off’ when at home.  Continue reading

Migrate Jenkins from Tomcat to a Windows service

MigrerJenkinsOur current series of posts focuses on the migration of SonarQube and Jenkins from Tomcat to Windows services.

We have seen how to realize this migration for SonarQube, while still working with Jenkins on Tomcat. I mean, without losing our SonarQube repository, our dashboard, the results of our analysis, the profiles, etc. but also with the ability to launch projects already configured in Jenkins, and without losing any installed plugins, including the one used for the SonarQube Runner.

Today we will see how to migrate Jenkins to a Windows service. And finally get rid of that good old Tomcat.  Continue reading

SonarQube as a Windows service with Jenkins under Tomcat

SonarQube2 We have seen in our previous post how to migrate SonarQube to a Windows service.

We actually made ​​a new installation, without loosing our repository previously built with our version of SonarQube under Tomcat. We have checked that our projects, the results of previous analyzes, but also all existing configurations (plugins, Quality Profiles, etc..) were not lost.

Good. But what about Jenkins? Our Jenkins under Tomcat was working with the Tomcat version of SonarQube. And now it is working with SonarQube as a Windows service.

How to proceed? Here are the steps I followed.

Continue reading

Migrate SonarQube from Tomcat to a Windows service

SonarQubeService

As I have already mentioned, SonarQube will soon be no longer available for Tomcat, but only as a Windows service. That means that I will have to migrate my platform SonarQube / Jenkins.

This brings some questions: will I loose my settings? Will I loose my analysis? SonarQube uses a database to store the results of the analysis, so we can expect to keep them and their history.

But what about my SonarQube configuration? Will I have to reinstall plugins? Damn, where did I put the license keys for these plugins? And my Quality Profiles? Are they stored in the database or in a file?

Continue reading

News of Qualilogy

SonarSource Two important news on the SonarSource website.

The Sonar platform, dedicated to continuous inspection of the quality of code, has changed its name for SonarQube, since June 20, 2013. The announcement on the SonarSource website can be found here.

It’s been already some time then, but in fact, it took a couple of months to adjust and get used to talking about SonarQube and not Sonar.

I was wondering if I should change the existing posts on my blog and was hesitating, especially as it represents a certain amount of work, and proves to be a source of errors (especially when it comes to change and check out the many links between all posts). Until I see someone seeking information on SonarQube and saying he only had documentation about Sonar, and asking if it was the same software.

Continue reading

Freelancers and solopreneurs

Autonomos et solopreneursWhen I came to Spain 5 years ago, I searched for a meeting place for French expatriates, but I did not find much. We frenchies are pretty “stay at home” – in any case I am rather homebody – and yes I know, this is quite inconsistent with the fact of going to live in another country. But it is certain that the French expatriates are not the kings of the foreign scene in Madrid.
Continue reading