Jenkins not able to fetch code from remote git

后端 未结 8 1377
梦毁少年i
梦毁少年i 2020-12-23 19:23

My jenkins build is suddenly not working now.The error is as follows:-

Fetching changes from the remote Git repository
 > git config remote.origin.url <         


        
8条回答
  •  再見小時候
    2020-12-23 20:18

    I was seeing the same issue, but disk space and VM memory were not the problem. What fixed it for me was making the job re-clone on build:

    1. Go to the job's "Configure" page
    2. Under Source Code Management → Git → Additional Behaviors, add a behavior "Wipe out repository & force clone"
    3. Save
    4. Build

提交回复
热议问题