Which version of sonar-ws for commercially versioned sonarqube server edition?

Hello there :waving_hand:

TLDR: How do i pick the “right” community-version of smth for a commercial versioned sonarqube server? (e.g. the version of sonar-ws to use)

I would like to choose the version of sonar-ws following a pattern.

If i understand it correctly, the open source versioning-scheme is following a date-pattern while the commercial versioning-scheme is using the year and then an increasing number for the n-th release about bi-monthly

Consider me using a locally installed SQ

  • Enterprise Edition
  • v2025.1 (102418)

If i were to pick one of the following versions available in mvncentral for org.sonarsource.sonarqube:sonar-ws … which one would i pick for example for

  • v2025.1
  • v2025.2

I only see the following versions (which are - i presume - versioned after the community date-versioning-scheme)

So … which one of these shown 25.n.x versions should i use for which commercial edition? :flushed_face: :thinking:

cheers
Daniel

Hi Daniel,

I don’t understand what you’re picking here. Are you trying to list SonarQube as a dependency? If so, why? You don’t need to do that to analyze.

 
Ann

hai :slight_smile:

i am using sonar-ws (configured in maven/gradle as a dependency) in a client to interact with the web_api of a sonarqube server instance of a specific (not most updated) version.

  • i presume the serverside api is changing and the implementation in sonar-ws is trying to keep up

  • because of that, i am under the assumption, that i cannot expect to use the mostest freshest version of sonar-ws to query an older api version of an older not-up-to-date server instance.

i think, it would be most clarifying if i “could just look up” what is the latest compatible version i can use with Sonarqube Server version xy

(actually, i just realize, my parallel opened question concerning the sonarlint-versions is trying to archieve something similar, i think :thinking: )

Hi,

It isn’t really meant to work this way, so there’s no lookup for this. Use the SonarQube Community Build version released just before your SonarQube Server target version. As a rule, SQCB is released at the beginning of the month and SQS at the end.

You can use this file as your cheat sheet.

 
HTH,
Ann

1 Like

TY Ann, that is actionable advice :white_check_mark: (maybe even documentable, somewhere? just an idealistically tainted thought :innocent: )

also, the linked resource is interesting :nerd_face: :+1: a trove of stuff i have not stumbled upon yet :face_with_monocle:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.