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.
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" }
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |