Skip to content

Instantly share code, notes, and snippets.

View kenotron's full-sized avatar
🐽

Kenneth Chau kenotron

🐽
  • Microsoft
View GitHub Profile
# I just add these as steps as tasks inside a VSTS build def
npm set always-auth
npm set email xxxx@yyyy.com
...
# Caveats:
# 1. now your npm config is DIRTY globally - only one of these creds can be active at a time
# 2. VSTS has a notion of "secure variable" that can be exposed env variables (write only) not sure if Jenkins has similar feature