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

Redmin links in the "Changes" view don't work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: redmine-plugin
    • Labels:
      None

      Description

      When commit messages contain redmine keywords like "refs" or "closes", the redmine plugin
      detects the keywords correctly, but the links contain the anchor (#) - prepending the issue number,
      therefore getting a 404 error in redmine.

      A regular link to a redmine issue:

      http://myRedmineProject/issues/show/100

      The link generated by the redmine plugin:

      http://myRedmineProject/issues/show/#100

        Activity

        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : gaooh
        Path:
        trunk/hudson/plugins/redmine/src/main/java/hudson/plugins/redmine/RedmineLinkAnnotator.java
        trunk/hudson/plugins/redmine/src/test/java/hudson/plugins/redmine/RedmineLinkAnnotatorTest.java
        http://jenkins-ci.org/commit/35747
        Log:
        JENKINS-5368 bug fix

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : gaooh Path: trunk/hudson/plugins/redmine/src/main/java/hudson/plugins/redmine/RedmineLinkAnnotator.java trunk/hudson/plugins/redmine/src/test/java/hudson/plugins/redmine/RedmineLinkAnnotatorTest.java http://jenkins-ci.org/commit/35747 Log: JENKINS-5368 bug fix
        Hide
        gaooh gaooh added a comment -

        version 0.9 fix

        Show
        gaooh gaooh added a comment - version 0.9 fix
        Hide
        cforce cforce added a comment -

        This url for redmine issues is not correct.
        Correct is http://www.redmine.org/issues/11632! I opened a pull request

        Show
        cforce cforce added a comment - This url for redmine issues is not correct. Correct is http://www.redmine.org/issues/11632 ! I opened a pull request
        Hide
        gaooh gaooh added a comment -

        version 0.11 fix

        Show
        gaooh gaooh added a comment - version 0.11 fix

          People

          • Assignee:
            gaooh gaooh
            Reporter:
            pulse00 pulse00
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: