1.0.5 • Published 9 years ago

hj-sonar v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

#hj-sonar This package is written for hujiang font-end team. By default, it set the sonar server url in the package. If some others want to use this package, please set some options as described in this document. ##setup


npm install hj-sonar

if the runner needs authentication, you should put an file named "sonaruser" under cwd folder, the content of this file is JSON format. it should be as follows:

{ "userName": "**", "password": "***" }

##options


  • projectName

    	the name of the project which you want to run in sonar.
     
  • projectKey

    	the key of the project which you want to run in sonar, this is unique in sonar.
  • projectVersion

    	the version of the project which you want to run in sonar.	 
  • sources

    	An file folder contains files which will run in sonar.  
    	 Note: the path should be an relative path which relate with the cwd.
     
  • langugae

    	this option is optional, the meaning is same as langugae option in sonnar-runner, default value is javascript.
  • host

    	a value discribe the host of sonnar server.
  • url

    the sonar server's URL.

  • sourceEncoding

    	The encoding of the files.
     
  • jdbc

    	this option is config for database, please see the documentation in sonnar-runner.
1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago