onecompileman-jenkins-ng-lint-report
v1.10.33
Published
HTML report for jekins that supports angular 4 apps
Downloads
13
Readme
Onecompileman-jenkins-ng-lint-report
Onecompileman-jenkins-ng-lint-report is a Node.js CLI library for Angular that converts ng-lint JSON file to HTML generated after linting the Angular project:
Tech
Onecompileman-jenkins-ng-lint-report uses a number of open source projects to work properly:
Installation
Onecompileman-Angular4-CLI requires Node.js v8.8+ to run.
$ npm install -g onecompileman-jenkins-ng-lint-report
Commands
In your Jenkins
Job Configuration add this following shell commands, this will generate a folder of report in the workstation
with the format of {build-number}-report.html:
$ npm install
$ npm install -g onecompileman-jenkins-ng-lint-report@latest
$ ng set --global warnings.versionMismatch=false // Removes warning
$ ng lint --format json > report.json
$ ocm-report --app APP-NAME --jenkins reports --build ${BUILD_NUMBER}