Hudson Sonar error - sonarqube

I am using Hudson 3.1.0 version and sonar 3.7.4 version. SInce yesterday I am getting this weird error while doing sonar analysis:
This was working fine until yesterday. sonar-maven-plugin-3.3.0.603 version is used.Can somebody help here?

You are using a version of the SonaQube Scanner for Maven that is too recent (3.3.0.603). You should lock this version (in your POM) to an older version to make sure this keeps on working correctly.
As a side note, please consider upgrading to more recent software:
SonarQube 3.7.4 is 4 years old and no more supported (which means nobody will help you in case of trouble)
Hudson is kind-of dead - the best option for you is to move on Jenkins

Related

Upgrade Maven Version in Windows

I want to upgrade to Maven latest version from 3.2.2v in windows. I know that there is a command as I used it before, but unable to recollect it now and haven't found in google even after an hour. So, can some one please help me with the command.
Thanks,
Likitha
Maven has no command to upgrade to Maven 3.X. You should download and extract new version.

first build of maven project with jenkins failed

I am trying to start my first build on Jenkins, but it failed, since I am a beginner, even I got those console output, still don't know how to solve the problem, anyone can help me?jenkins version: 1.6.0.4 JDK: 1.8.0 maven:3.5.0
enter image description here
It is a bug opened with maven 3.5.0
https://issues.jenkins-ci.org/browse/JENKINS-43446
Downgrading the maven to any old stable version, i.e., 3.2.5 or 3.3.1, would make it work.

Jack compilation stuck with AndroidStudio 2.3

I have upgraded my AndroidStudio today to latest stable version 2.3 (with gradle plugin 2.3.0 and gradle 3.3): now, I am not able to build my project which ran fine under AndroidStudio 2.2.3.
When I try, I am stuck at :app:transformJackWithJackForDebug as long as I don't kill my java platform process.
It is the same problem than this post I guess but on stable release.
Any help will be greatly appreciated :)
I killed many hours for the same issues after that i got link and its working fine at my end.
To use "Retrolambda" add few dependency.
dependency to your build.gradle file.
classpath 'me.tatarka:gradle-retrolambda:3.2.0'
Added dependency into app/build.gradle file.
apply plugin: 'me.tatarka.retrolambda'
Please clean your build and run. it will work fine.
For more detail please visit below link:
http://www.vogella.com/tutorials/Retrolambda/article.html
https://barta.me/lambda-expressions-in-android/
all the best.
With Android Studio 3.0 (plugin 3.0) they are recommending to disable the Jack compiler as its been deprecated.

Difficulty upgrade from version 3.4.1 to 4.5.2

Hi I'm trying to upgrade Sonarqube from 3.4.1 to 4.5.2 but had some issues.
I ensured that the sonar.properties file and the wrapper.conf file were both the same and changed them accordingly on the newer version. To install it we simply moved 4.5.2 onto the server and changed the symlink, this worked until it tried to upgrade the database then it stated 'Upgrade is impossible'
After this we couldn't get Sonar to start again, so we rolled it back to a previous version..
So our current predicament is whether or not to create a new version of Sonar on the latest version or to slowly upgrade the old one but from 3.4.1 to 3.4.2 etc..
What would you suggest?
Thanks

SonarQube 4.4 and SCMActivity plugin

We recently installed SCMActivity plugin in our 3.6.1 installation and it worked without a hitch. Now that we are prepping to move to 4.4, installing the same plugin (version 1.8) does not yield same results - svn blame is not working. I am not sure why.
Our setup is all Centos, SVN 1.8, Sonar 4.4, SCMActivity plugin 1.8.
Since SonarQube 4.5, you need to turn on SCM decoration on the Component Viewer to be able to see SCM information. See the documentation on the SCM Tab.

Resources