Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44297

Allow constructing "custom repo browser url" entries.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Jenkins ver. 2.45

      Scenario: we're using Upsource both as a code review tool and as a repository browser. Yet it's not listed as a supported repo browser, and we cannot make Jenkins point to specific revisions even knowing their numbers and the url syntax.

      It would be nice to allow constructing urls pointing to a specific revision - using meta-elements like $baseurl, $hostname, $projectname/$reponame, $revisionnumber ; maybe also credentials - or whatever other needed stuff. 

      Thus, my Upsource url could be constructed from bricks like:
      https://$hostname:9443/$reponame/revision/$branchname-$revisionnumber
      or 
      $baseurl/$reponame/revision/$branchname-$revisionnumber
      or just putting everything but the revisionnumber explicitly:
      https://my.ho.st.na.me:9443/myrepo/revision/mybranch-$revisionnumber

      That could be easily tuned to match probably any repobrowser, and avoid the "jenkins does not support my favorite repobrowser flavor" complaints.

            Unassigned Unassigned
            vicd Victor Dulepov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: