levinzonr / bitrise-sonarqube-step

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitrise SonarQube auto-configration and scanning step

How to use

1) Add this step manually in the bitrise.yml file:

workflows:
  randomWorkflow:
    steps:
      - git::https://github.com/monstar-lab-oss/bitrise-sonarqube-step@main:
        title: SonarQube
        inputs:
        - project_key: "$BITRISE_APP_TITLE"

Bash is hard

Bitrise step lib normally uses Go or Bash scripting for the step functionality.

Google's ZX library on top of node.js makes shell scripting a lot easier.

This starter includes basic step setup including:

  • step.sh entrypoint for starting the zx script
  • A couple of example inputs for the Bitrise web UI in step.yml
  • One example output in step.yml

Resources

Bitrise step yml development: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md Bitrise step examples: https://github.com/bitrise-io/bitrise/tree/master/_examples

About

License:MIT License


Languages

Language:JavaScript 93.5%Language:Shell 6.5%