I installed a CI server with jenkins and a slave with a replica of our production environment. I am facing an unpleasant problem: Jenkins seems to be running git clone on a slave, which means that every slave needs to add it to GitHub.
It sounds like a rather strange architecture to me. I would prefer the main server (which has all my credentials) to clone / checkout and copy the workspace to the slave. But after quite a lot of Google, I have not found a way to do this yet. I found Copy to slave plugin , but this does not prevent the slave from crashing on git clone .
Hopefully someone knows a way to achieve this, because setting up GitHub publickeys for each slave sounds funny.
git github jenkins
joostdevries
source share