Is there no way to use Multibranch Pipeline without using stored 
Credentials on the GitSCMSource?
On other project types it is enough that the jenkins user's public key is 
stored on the git server.

onsdag 29. juni 2016 08.54.15 UTC+2 skrev Sverre Moe følgende:
>
> Our git remote server is Gitolite and is has the public key of all the 
> users
> git clone ssh://[email protected]/project.git
>
> This has worked in Jenkins for standard project types, FreeStyle, Maven, 
> Multiconfiguration. The user jenkins
> Now using Pipeline, it fails to authenticate indexing the added 
> repository. I have not set up any credentials for the repository. I had the 
> same problem on a local test instance of Jenkins where using credentials 
> solved that. However I do not have access to neither the password nor the 
> private key of the user git on our company remote git server.
>
> Branch Indexing LogStarted
> Setting origin to ssh://[email protected]/project.git
> Fetching origin...
> FATAL: Failed to recompute children of mcs-gui
> java.lang.IllegalStateException 
> <http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalStateException>
> : Cannot open session, connection is not authenticated.
>
>
> I have no problem accessing the repository on the command line with the user 
> jenkins.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/034993ae-0930-42ad-906a-c0d1b0bf2044%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to