1.0.7 • Published 5 years ago

sonar-prop v1.0.7

Weekly downloads
361
License
Apache-2.0
Repository
github
Last release
5 years ago

sonar-prop

helper to create sonar-project.properties files

Features

  • Arguments
  • Environment variables
  • Read name and version from package.json
  • Extend properties file '.sonar-project.properties'

Usage

Using npx

$ npx sonar-prop --help
$ npx sonar-prop --id=MyID --paths="src/js/app,src/js/modules" --name=MyName --url=https://sonar.url --token=SECRETTOKEN --version=1.2.3

Installing globaly

npm i sonar-prop -g
$ sonar-prop --help
$ sonar-prop --id=MyID --paths="src/js/app,src/js/modules" --name=MyName --url=https://sonar.url --token=SECRETTOKEN --version=1.2.3

Arguments

  • id - UID The SONAR_ID environment variable can be used. The SONAR_ID environment variable can be used.
  • paths - Quoted paths for the SonarQube analysis comma separated. The SONAR_PATHS environment variable canb e used.
  • name - Name of the application. Defaults to package.json name. The SONAR_NAME environment variable can be used.
  • url - URL of the SonarQube server. The SONAR_URL environment variable can be used.
  • token - Secret token for SonarQube authentication. The SONAR_TOKEN environment variable can be used.
  • version - Version of the application. Defaults to package.json version. The SONAR_VERSION environment variable can be used.
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago