Pull and clone are not mutually exclusive options (you can't pull unless you're in a repo, and you need clone to get a repo). So could you clarify your intent here?
– Oliver CharlesworthFeb 03 '15 at 13:56
1 Answers1
5
The default behavior of git plugin in jenkins is:
Clone the repository if your directory is empty;
If the repository has already been cloned, it will be updated.
So, the first time that your job run the repository will be cloned, and in the second will be updated.