You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command npx nx affected --base=origin/development --head=<sha> --target=container --parallel=1 fails with the following error:
Unsupported CI Provider... Using Local Environment as fallback
[command]/usr/bin/git log -1 --pretty=format:%ae
[email protected][command]/usr/bin/git symbolic-ref HEAD
fatal: ref HEAD is not a symbolic ref
> Removing temp folder /tmp/docker-build-push-aemX4D
NX The process '/usr/bin/git' failed with exit code 128
Pass --verbose to see the stacktrace.
Detecting an unsupported CI is correct because ci-info does not recognize buildbot and ci-context cannot handle it. The fallback to Git tries to fetch the current SHA using Git.ref, but I wonder why the exception is not handled correctly and the fallback using git tag is used - which I assume because the last command printed is git symbolic-link HEAD followed by the error message.
The unit test do not cover this case, AFAICS. I tried to enhance them but my skills in TS are marginal at the moment.
I run nx-containers using Buildbot as our CI.
The command
npx nx affected --base=origin/development --head=<sha> --target=container --parallel=1
fails with the following error:Detecting an unsupported CI is correct because ci-info does not recognize buildbot and ci-context cannot handle it. The fallback to Git tries to fetch the current SHA using Git.ref, but I wonder why the exception is not handled correctly and the fallback using git tag is used - which I assume because the last command printed is
git symbolic-link HEAD
followed by the error message.The unit test do not cover this case, AFAICS. I tried to enhance them but my skills in TS are marginal at the moment.
Here is my package.json
The text was updated successfully, but these errors were encountered: