Skip to content

Commit 9e09d09

Browse files
Fix auth for bintray
Signed-off-by: Matthew Wilson <[email protected]>
1 parent bcf4769 commit 9e09d09

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Jenkinsfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,12 @@ pipeline {
231231
timeout(time: 10, unit: 'MINUTES') {
232232
echo "Install Zowe CLI globaly"
233233
sh "rm -f .npmrc"
234-
sh("npm set registry https://registry.npmjs.org")
235-
sh("npm set @brightside:registry https://api.bintray.com/npm/ca/brightside/")
234+
sh "npm set registry https://registry.npmjs.org"
235+
sh "echo @brightside:registry=https://api.bintray.com/npm/ca/brightside/ >> .npmrc"
236+
sh "echo @brightside:always-auth=false >> .npmrc"
236237

237-
sh("npm install -g @brightside/core@lts-incremental")
238-
sh("zowe --version")
238+
sh "npm install -g @brightside/core@lts-incremental"
239+
sh "zowe --version"
239240
}
240241
}
241242
}

0 commit comments

Comments
 (0)