-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Description
The treeless clone configuration let's build frameworks fail to load the required tree for git diff, especially when using access tokens to connect to the remote.
*! Error executing Git command: git -C /u/gitlab/workspace/retirementCalc/build-12758/retirementCalc/retirementCalc --no-pager diff --name-status origin/main 2d476728f63b927059bc1e2cfbe76e9637b73e4d error: remote: HTTP Basic: Access denied. If a password was provided for Git authentication, the password was incorrect or you're required to use a token instead of a password. If a token was provided, it was either incorrect, expired, or improperly scoped. See http://gitlab.dat.ibm.com/help/topics/git/troubleshooting_git.md#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'http://gitlab.dat.ibm.com/dat/retirementCalc.git/'
fatal: could not fetch 88130278e49358ea28baa68ef9f67293d4cce72d from promisor remote
See
dbb/Templates/Common-Backend-Scripts/gitClone.sh
Lines 305 to 309 in 7fc8090
| echo $PGM": [INFO] Preforming Git Clone of Repo ${Repo}, Ref ${BranchID} to $(getWorkDirectory)" | |
| if [ ! -z "${application}" ]; then | |
| CMD="git clone --filter=tree:0 -b ${BranchID} ${Repo} ${application}" | |
| else | |
| CMD="git clone --filter=tree:0 -b ${BranchID} ${Repo}" |
Metadata
Metadata
Assignees
Labels
No labels