The docs-on-pagure directory could be left from the previous build which will cause this error:
fatal: destination path 'docs-on-pagure' already exists and is not an empty directory.
So we need to clean it up.
Hmm so normally the slave should be freshly provisioned and the Jenkins work tree will be empty. However the failure might have been because it hit this issue in OpenStack Cloud plugin where it reuses slaves even though their holdover time is 0 seconds.
https://github.com/jenkinsci/openstack-cloud-plugin/issues/99
Anyway this seems fine :+1:
Pull-Request has been merged by mjia
The docs-on-pagure directory could be left from the previous build which
will cause this error:
fatal: destination path 'docs-on-pagure' already exists and is not an empty directory.
So we need to clean it up.