![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Nicolas De Loof
|
|
Components:
|
git |
|
Created:
|
30/Jan/13 7:53 PM
|
|
Description:
|
I'm trying to write a plugin that needs information from SCM plugins.
I'm having trouble extracting information from the Git plugin. I think it has some bugs that are causing it to not report data even though there's a great good deal of code in there to generate the answers.
Specifically, I can't find any incantation of scm/api/json that returns useful data in the repositories attribute. It seems to be an empty list. JENKINS-14588 reports that the 'branches' field is also empty. I'm curious if the root cause is similar for both or if they're separate issues.
{
"browser" : null,
"type" : "hudson.plugins.git.GitSCM",
"branches" : [
{
}
],
"mergeOptions" : {
"mergeRemote" : null,
"mergeTarget" : null,
"remoteBranchName" : null
},
"repositories" : [
{
}
],
"userRemoteConfigs" : [
{
"name" : "",
"refspec" : "",
"url" : "ssh://git-server:29418/projectname"
}
]
}
|
|
Project:
|
Jenkins
|
|
Labels:
|
plugin
scm
plugins
|
|
Priority:
|
Major
|
|
Reporter:
|
Jason Marshall
|
|
|
|
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/groups/opt_out.