maciejmaciejewski / azure-pipelines-cucumber

MIT License
19 stars 19 forks source link

Local certificate issue while running on Windows Agent, ignoring the jFrog artifactory the task places request to npmjs directly #72

Open gksanam opened 1 year ago

gksanam commented 1 year ago

I'm trying to publish the cucumber report for Playwright-NPM project, the cucumber reports are generated with no issue but getting local certificate issue during publishing the cucumber report on ADO.

My company uses JFrog so I have npmrc to route the open source software through the virtual repository. For some reason, on windows agent this ADO task skips jfrog and access the npmjs directly. Am I missing any config? Need your help.

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! request to https://registry.npmjs.org/cucumber-html-reporter failed, reason: unable to get local issuer certificate