Giter Site home page Giter Site logo

sonarcloud-circleci-orb's Introduction

sonarcloud-circleci-orb

Support of SonarScanner CLI in CircleCI

SonarCloud Orb

The SonarCloud Orb can be used with any linux based docker image that includes the command line tools curl and unzip.

To connect to your SonarCloud project on sonarcloud.io you need to setup an api token. We recommend to setup a CircleCI context in your organization named sonarcloud that contains a variable with key SONAR_TOKEN and the api token as the value.

Usage examples

version: 2.1
orbs:
  sonarcloud: sonarsource/[email protected]
jobs:
  build:
    docker:
      - image: 'circleci/python:3.7.4'
    steps:
    - checkout
    - sonarcloud/scan
workflows:
  my-workflow:
    jobs:
      - build:
          context: sonarcloud

Publishing a new version

To publish a new version of the orb you need to change the version found in .circleci/config.yml to the new version. The CirceCI build pipeline will then publish the new version of the orb.

Requirements

See https://docs.sonarcloud.io/appendices/scanner-environment/

sonarcloud-circleci-orb's People

Contributors

ivan-murenko-sonarsource avatar julien-carsique-sonarsource avatar kylefossum avatar kyletryon avatar marcin-majewski-sonarsource avatar tom-vanbraband-sonarsource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.