Apigeelint or Standardjs , which is the go-to one. Any alternative for "standard -fix" in apigeelint ?

apigeelint or standardjs , which is the go-to one. Any alternative for "standard -fix" in apigeelint ?

And how do i integrate the apigeelint with jenkins.

0 1 176
1 REPLY 1

Apigeelint is a node module, in Jenkins I used something like this,

  stage('Policy-Code Analysis') {

           env.NODEJS_HOME = "${tool 'nodejs'}"
      
           env.PATH = "${env.NODEJS_HOME}/bin:${env.PATH}"
      
           sh "npm -v"

           sh "apigeelint -s /usr/lib/node_modules/npm/apigee-ci-deploy-bdd-lint-master/hr-api/apiproxy/ -f table.js"
      
          }