I tried setting an environment variable (NPM_TOKEN
) for VSTS on the variables
tab / Process variables
but it looks like the build process tool (NPM) doesn't recognize it.
I also tried to run a command line task echo $NPM_TOKEN
which also fails:
Failed which: Not found echo $NPM_TOKEN: null
I tried using a Hosted
Agent as well as a Hosted Linux (Preview)
agent.