SonarSwift Plugin Not available in marketplace

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    docker image for sonarqube from docker hub. Image Tag: sonarqube:8.1-enterprise-beta.
  • what are you trying to achieve
    install sonarswift plugins from marketplace.
  • what have you tried so far to achieve this
    there is no button option to install sonarswift plugin in enterprice edition.

Hi @abhinav.korpal,

Welcome to the forum.
Swift analyser is already included in the Enterprise Edition you have normally downloaded on our website.
Can you check in the content of extensions/plugins folder of your SonarQube server?
Or re-download a fresh SonarQube 7.9 or 8.1 (LTS or latest version) from https://www.sonarqube.org/downloads/ ?

HTH
Carine

1 Like

Hi @Carine_Bayon

We are using SonarQube Docker image in the enterprise edition. Docker Image tag: sonarqube:8.1-enterprise-beta, we have licence key. :neutral_face:

Regards,
Abhinav Korpal

Hi @Carine_Bayon,

SonarSwift Plugin Not available in marketplace in docker enterprise.

Hello @abhinav.korpal,

As Carine said, Swift plugin should come with the initial setup of your SonarQube Enterprise Edition container. I suspect that something went wrong during the initialization of the container.

Could you

  • stop your container
  • remove all the content of $SONARQUBE_HOME/
  • run the initialization of the container:

docker run --rm
-v $SONARQUBE_HOME/conf:/opt/sonarqube/conf
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions
-v $SONARQUBE_HOME/data:/opt/sonarqube/data
sonarqube:enterprise-beta --init

  • start your container again:

docker run -d --name sq -p 9000:9000
-v $SONARQUBE_HOME/conf:/opt/sonarqube/conf
-v $SONARQUBE_HOME/extensions:/opt/sonarqube/extensions
-v $SONARQUBE_HOME/logs:/opt/sonarqube/logs
-v $SONARQUBE_HOME/data:/opt/sonarqube/data
sonarqube:enterprise-beta

After SonarQube started, you should see the Swift analyzer installed in the marketplace.

Best regards,
JD.

1 Like