onecompileman-jenkins-ng-lint-report

1.10.33 • Public • Published

Onecompileman-jenkins-ng-lint-report

N|Solid

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:

  • node.js - evented I/O for the backend
  • minimist - node.js argument parser
  • chalk - colorize the output

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} 

Readme

Keywords

Package Sidebar

Install

npm i onecompileman-jenkins-ng-lint-report

Weekly Downloads

0

Version

1.10.33

License

ISC

Unpacked Size

37.1 kB

Total Files

19

Last publish

Collaborators

  • onecompileman