I was successfully able to build in Jenkins by using the below Script till yesterday. But suddenly from today I am not able to build the project. I am getting timeout while cloning the project from GIT.
Pipeline script :
stages {
stage ('Initialize') {
steps {
git url: 'http://xx.xx.xx.xx/gitlab/tata-comm-oss/oss-fe.git',
credentialsId: 'xxxx-xxx-xx-xxxxxx',
branch: 'alpha_06_1'
}
}
}
I am getting below error.
ERROR: Timeout after 10 minutes
ERROR: Error cloning remote repo 'origin'
How to increase the timeout for git fetch (not general timeout) in my pipeline script mentioned above so that jenkins can clone the project from GIT.