Details
-
Suggestion
-
Resolution: Duplicate
Description
Sometimes a pipeline will fail to clone the repository.
"There was a network error trying to clone the repository. Please try again."
It would be nice if Pipelines retried instead of making me retry it.
- GIT_LFS_SKIP_SMUDGE=1 git clone --branch="master" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
Cloning into '/opt/atlassian/pipelines/agent/build'...
fatal: unable to access 'https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/atlassian/uchi-ui.git/': The requested URL returned error: 504