Tuesday, March 29, 2016

SonarQube for Android App & Jenkins



SonarQube Code Quality Analysis for Android App & Integration with Jenkins

1) Install Andriod Plugin, Java Plugin will be installed by Default which is also needed.

To install the Plugin - You need to have Administration rights in SonarQube to Install any Plugins. 
Follow these below steps for Installation.
You need to Click : Administration -> System -> Update Center
2) Click on Available Option and Search for "Android" Plugin and Install it by Clicking Install.
Once the plugin is installed - Restart SonarQube
Note : Android Plugin is also called as "Android Lint" Plugin these days.
3) Click on Quality Profiles after the Android Plugin Installation - and you can see the below Info.
4) Android Plugin is a free version, 
5) In Jenkins - Create a Job
7) In Jenkins Job : Pull the Code from SCM, whether it's from github, gitlab, Git Server , SVN etc,.
8) Build Step : Click Invoke "Standalone SonarQube Analysis" and provide the details as below.




7 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete

Note: Only a member of this blog may post a comment.