Zubair
Zubair

Reputation: 6203

Build Jenkins Sonar-ruby-plugin

I am trying to build sonar-ruby-plugin for jenkins i.e, to create a .hpi file every time I run the command:

mvn package 

it creates a target folder but there is no .hpi file.

https://github.com/GoDaddy-Hosting/ruby-sonar-plugin

Upvotes: 0

Views: 272

Answers (1)

agabrys
agabrys

Reputation: 9116

This is a plugin for SonarQube server, not Jenkins.

You should:

  • build the plugin by mvn package
  • copy to SONARQUBE_HOME/extensions/plugins directory
  • restart SonarQube
  • run analysis (you can execute SonarQube in Jenkins; read more on SonarQube wiki)

Upvotes: 1

Related Questions