Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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} 

install

npm i onecompileman-jenkins-ng-lint-report

Downloadsweekly downloads

0

version

1.10.33

license

ISC

repository

Gitbitbucket

last publish

collaborators

  • avatar
Report a vulnerability