Reputation: 11
My pipeline has the 'Prune stale remote-tracking branches' additional behavior but I guess this is only executed on the workspaces in the agent the pipeline itself will be run on. I'm talking about the initial git call made by Jenkins to get the Jenkinsfile from the repository. Does anybody have an idea where is it?
Upvotes: 1
Views: 616
Reputation: 11
I figured it out. I deleted the git folders in $JENKINS_HOME/caches/ and it worked.
Upvotes: 0