[ 
https://issues.jenkins-ci.org/browse/JENKINS-11887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159027#comment-159027
 ] 

Gerd Zanker commented on JENKINS-11887:
---------------------------------------

I debugged the code from the other patch. You are right - issue JENKINS-7032 
not the same as this one. It will remove a part from the URL and you want to 
add a part to the URL.

So there is one question open: From where to get the repository Name?

Shall the repo name be derived from the git URL setting in Job configuration? 
=> I can access the URL but I need a matching pattern to get the name from the 
url.
Is it always a the same repo name for one Jenkins Job? => I could add an 
optional text field to the Trac settings of the Job configuration to enter the 
name, which would be an easy task.
                
> Support Git for "Repository browser" setting
> --------------------------------------------
>
>                 Key: JENKINS-11887
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11887
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: git, trac
>         Environment: Jenkins 1.441, Trac Plugin 1.12
>            Reporter: Gerd Zanker
>            Assignee: Gerd Zanker
>            Priority: Minor
>              Labels: git, trac
>             Fix For: current
>
>
> In the [Trac Plugin 
> documentation|https://wiki.jenkins-ci.org/display/jenkins/Trac+Plugin] the 
> configuration is described as
> bq. In the Source Code Management section, choose "Trac" for the "Repository 
> browser" setting.
> This settings "Trac" is not available for when I use git as a SCM.
> Can this selection be added?
> ----
> The Trac-plugin code supports "TracGit" for the "Repository browser" setting. 
> The given Trac URL at the top of the job settings will be used to generate 
> links for git changesets, files and diffs to your Trac "Browse Source" area.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to