Wrong circle CI docs
See original GitHub issueApologies for the duplicate issue but the previous issue was closed. My team has followed all the instructions here and here exactly. It’s still not working. As mentioned in the previous issue the output of calling set-shas
is:
undefined:1
{:message "Project not found"}
^
SyntaxError: Unexpected token : in JSON at position 1
at JSON.parse (<anonymous>)
at IncomingMessage.<anonymous> (/home/circleci/repo/index.js:119:22)
at IncomingMessage.emit (node:events:402:35)
at endReadableNT (node:internal/streams/readable:1343:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
This is not a very helpful error message. It would be my position the docs are still incomplete or missing (and that this error message could be improved substantially). This also appears to be related to https://github.com/nrwl/nx-orb/issues/2 and we’ll try setting the (undocumented) environment variable, but this environment variable is not mentioned anywhere in the docs for the orb or the circleCI docs on the Nx website, and the error message is not super helpful, therefore it would be my position the docs are in fact wrong. It would be my position this is a valid issue, and I’d be happy to even backfill the docs once we establish it is a valid bug. Could I respectfully request my issue not be closed under an assumption we didn’t follow the steps? Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
To second off of this, why is a user token required and not a project token? What is needed in this sense other than read access to that projects builds?
Added also information to the Nx orb - https://github.com/nrwl/nx-orb/commit/89660a1c9387f96bee147d231fec025effa00945
Thank you!