Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
1.1 kB
2
Indexable
Never
Unable to find .npmrc, Creating one
$ echo "registry = $NPM_REGISTRY_BASE_URL/$REPO/" >> .npmrc
$ echo "email=$GITLAB_USER_EMAIL" >> .npmrc
$ echo "_auth=$REPO_TOKEN" >> .npmrc
$ npmrc_file_created="true"
$ else
$ cp .out/ncd-ci-manifest.mf .
$ rm -rf .out
$ if [[ $SDK_BUILD == "npm" ]]; then
$ pkgVersion=$(npm pkg get version)
npm ERR! code ERR_INVALID_AUTH
npm ERR! Invalid auth configuration found: `_auth` must be renamed to `//npm-cache.nomura.com/repository/CTS-FTG-IPVG-NPM/:_auth` in project config
npm ERR! Please run `npm config fix` to repair your configuration.`
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-04-24T13_07_20_601Z-debug-0.log
Uploading artifacts for failed job
00:01
Uploading artifacts...
WARNING: ./npm_artifacts.txt: no matching files. Ensure that the artifact path is relative to the working directory (/builds/mirimahm/npm-auto-publish-test) 
ERROR: No files to upload                          
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
Leave a Comment