File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,12 @@ pipeline {
199
199
steps(' Install Zowe CLI' ) {
200
200
timeout(time : 10 , unit : ' MINUTES' ) {
201
201
echo " Install Zowe CLI globaly"
202
- sh(" npm set registry https://registry.npmjs.org" )
203
- sh(" npm set @brightside:registry https://api.bintray.com/npm/ca/brightside/" )
204
- sh(" npm set @zowe:registry https://api.bintray.com/npm/ca/brightside/" )
205
- sh(" npm install -g @zowe/cli@latest" )
202
+ sh " rm -f .npmrc"
203
+ sh ' curl -u $USERNAME:$API_KEY https://eu.artifactory.swg-devops.com/artifactory/api/npm/auth/ >> .npmrc'
204
+ sh " echo registry=$TEST_NPM_REGISTRY >> .npmrc"
205
+ sh " echo @brightside:registry=$TEST_NPM_REGISTRY >> .npmrc"
206
+ sh " echo @zowe:registry=$TEST_NPM_REGISTRY >> .npmrc"
207
+ sh(" npm install -g @zowe/cli@cicsdev" )
206
208
sh(" zowe --version" )
207
209
}
208
210
}
You can’t perform that action at this time.
0 commit comments