I am trying to setup Jenkins with BitBucket GIT repository, but the Jenkins console always gives me this error code:
Started by user Dakado
Building in workspace
Increasing the clone time works for me. My clone was terminating as the file was too large and required more time to fetch the code from the repository and the default timeout is set at 10 minutes. Hence, increasing the limit from 10 to a larger time limit worked for me. Go to the job > Configure > Source Code Management > click on Add Additional Behaviours > select Advanced Clone Behaviour > set 'Timeout (in minutes) for clone and fetch operations' to 100. and check on Shallow Clone with depth 1. Check the attached image for more clarity here - JENKINS configuration for clone behaviour