Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: git-plugin, trac-plugin
-
Labels:
-
Environment:Jenkins 1.441, Trac Plugin 1.12
-
Similar Issues:
Description
In the Trac Plugin documentation the configuration is described as
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.
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.