Skip to content

Continuous Integration

Benoît Garçon edited this page Jul 18, 2018 · 4 revisions

Continuous Integration

Configure Travis badge

Travis badge: Build Status

Travis allow you to add a Travis build badge easily:

  1. Select your plugin into Travis
  2. Left click on the Project badge
  3. Copy the URL and past it into braces after '[![Build Status]' badge definition
  4. Close the badge definition and add a link to the Travis project

Configure SonarCloud badge

SonarCloud badge: SonarQube Quality Gate SonarQube Bugs SonarQube Coverage SonarQube Technical Debt

SonarCloud allow you to add a Quality Gate status badge easily:

  1. Select your project into SonarCloud
  2. Edit the SonarCloud project URL and copy id parameter: 'https://sonarcloud.io/dashboard?id=fr.cnes.sonarqube.plugins%3Asonar-icode-cnes-plugin'
  3. Start the badge definition: '[![SonarQube](https://sonarcloud.io/api/badges/gate?key='
  4. Path the id parameter value: 'fr.cnes.sonarqube.plugins%3Asonar-icode-cnes-plugin')]
  5. Close the badge definition: ')]' and add the link to the SonarCloud project