![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Jesse Glick
|
|
Components:
|
workflow-plugin |
|
Created:
|
16/Dec/14 3:58 PM
|
|
Description:
|
Internally we use gitlab as out git reposity server.
Using a jenkins freestyle project and git plugin a checkout via git over ssh works fine using an ssh private key.
In a workflow project I do not get a working checkout. This is the output I get:
.. when using the following project:
node('master'){
echo "Starting..."
git url: '[email protected]:ps/project.git', credentialsId:67c3072d-b9a7-44fa-a5aa-560ba9c1662f
}
I got the credentialsID from the working freestyle project.
When enabling ssh debug-log on the (git/ssh)server side it seems that jenkins/workflow tries to establish the ssh connection without offering a key based authentication and the connection is closed by the client in the ssh preauth phase.
I didn't get to manage to get debug output from the git-plugin when using the workflow plugin, but here is the exception I get from workflow:
I'm using:
Jenkins: 1.593
Git-Plugin: 2.3.1
Workflow-Plugin: 1.1
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
Patrick Scharrenberg
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.