]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21476 Fix npm registry configuration
authorJacek Poreda <jacek.poreda@sonarsource.com>
Mon, 29 Jan 2024 10:36:33 +0000 (11:36 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 30 Jan 2024 15:02:01 +0000 (15:02 +0000)
.cirrus.yml

index 0c02ff81bc687d78f0265231948a9f5d837b2693..bd3dfbe3d0d485e46639fa1db2e9fe8642cb89fe 100644 (file)
@@ -8,6 +8,9 @@ env:
   ARTIFACTORY_DEPLOY_PASSWORD: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-qa-deployer access_token]
   ARTIFACTORY_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
   ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
+  #NPM config
+  NPM_CONFIG_registry: https://repox.jfrog.io/artifactory/api/npm/npm
+  NPM_CONFIG_//repox.jfrog.io/artifactory/api/npm/:_authToken: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
   # download licenses for testing commercial editions
   GITHUB_TOKEN: VAULT[development/github/token/licenses-ro token]
   # notifications to burgr