I'm getting below error when running jenkins CI build in a jenkins-slave using docker containers.
error Couldn't find match for "ref:" in "refs/heads/1zq22b_docker-img-update,refs/heads/1zq22b_jenkins-slave,refs/heads/1zq22b_jenkins-slave-test,refs/heads/DIFF-1985_db_tool_restore,refs/heads/master" for "ssh://git@github.com/DifferentTech/ops.git".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning sha.js@2.4.11: Invalid bin entry for "sha.js" (in "sha.js").
these builds uses yarn for dependency installation. But however when I run the same job inside jenkins master it runs without these errors.
it runs four steps,
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
it fails at 2nd step Fetching packages giving above error