yehudahs
yehudahs

Reputation: 2668

Jenkins TFS plugin not retriving the sources again after workspace was deleted

I created a job to get sources from TFS and build the project. Everything worked, until I marked "delete workspace before/after build start/end" in the job. Now I getting "Finished getting version '...'. Retrieved 0 resources". How to tell Jenkins to re-download the project every time the build starts ?

Upvotes: 2

Views: 788

Answers (1)

DonClaveau
DonClaveau

Reputation: 71

Configure > Source Code Management > Advanced > Uncheck "Use Update"
The next build should pull everything down again

In my case, this setting was preventing the download after deleting workspace. Seems like it should recognize that the workspace was deleted and start over. I'd consider this a bug in Jenkins.

Upvotes: 7

Related Questions