H
H
Hland2015-08-14 16:05:02
git
Hland, 2015-08-14 16:05:02

Continuous integration jenkins. permission denied when doing builda. why not clone from git?

There is ubunta on which jenkins, this computer connects to the server from there to the git, downloads a fresh build.xml from the git and launches it in phing. Breaks when executing phinga. more precisely when cloning the repository.
In the joba settings, I specified git with credentials, agent forwarding in ubunte turned on the forwarding agent, added a script to the bash profile to add keys to the agent. keys are correct. xs already something to try.
If you do everything manually everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2015-08-14
@Hland

It's safer to configure ~jenkins/.ssh/config and ~/jenkins/.gitconfig if you have jenkins running as user jenkins
Don't forget that the bash profile is not always used, for example jenkins is run as a daemon, not as a bash process, and when when it starts, the bashevsky profile is not executed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question