Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 51 Next »

Prerequisites

  • The continuous integration job does not fail.
  • The JIRA issues included in the release are closed.
  • Check the source code quality of the plugin. The SQALE index must be A, and the SQALE remediation factor must not increase between two releases.
  • A dedicated page is created for the plugin in the wiki.

Call a Vote

Before a release can occur, a vote must take place.

The snapshot version to be tested must be publicly available. If the plugin is hosted on:

The vote is initiated by sending an email to dev@sonar.codehaus.org with a link to the snapshot artifact. The email subject is prefixed with [VOTE]. Explain the plugin, status, and any other info you feel is relevant. The standard is to wait 72 hours for responses. This gives other developers time to test the plugin before placing their vote. Each plugin committer gets one vote: -1 meaning "no" or +1 meaning "yes."

Only SonarQube plugin committers can vote. The first release requires three +1's and no -1's. For subsequent releases, the vote can be passed by lazy consensus: it passes if there are no -1's.

Release

  • Close the vote on the dev mailing-list
  • Check the prerequisites
  • Set your Codehaus username/password in Maven settings.xml:

    settings.xml
  • Install Codehaus SSL certificates into JDK
  • Deploy the plugin to the Maven central repository by executing the following command with default values:

  • Send an email to dev@sonar.codehaus.org to ask for the release of the version in JIRA
  • Update the Change Log section on the wiki plugin page by adding a JIRA Issues macro. Use the following properties:
    • JIRA Field Columns to Display: type;key;summary;priority
    • Cache: on
    • Anonymous Retrieval: checked
    • Width: 900
    • Height: <leave it empty>
    • Title: Release X.X
    • Render Mode: static
  • If it is the first release of the plugin, add it to the Plugin Library page
  • Update the Version compatibility matrix page
  • If a sonar-example is available, ask to have the the plugin version updated in the validation.txt file
  • Send an email to documentation@sonarsource.com with the message of the announce so that SonarSource can publish it on the plugins feed.
  • Send an email to dev@sonar.codehaus.org to ask that the release be added to the Update Center and that the header on the wiki plugin page be updated.
  • Tweet (big grin)
  • No labels