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

"Status Code: 404" when clicking on "schedule build" and deprecated method used by m2release.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • m2release-plugin
    • None

      I had the same problem that Gontard posted in JENKINS-6420. The 'fix' that Teilo suggested took care of it; however, before finding that solution I took a look at the source code. I noticed that the m2Release plugin uses a deprecated method (getAbsoluteUrl()) in one of the classes (org.jvnet.hudson.plugins.m2release.M2ReleaseAction) and I wonder whether changing that would also solve the problem?

      I emailed a suggested patch to Teilo, and he recommended that I make a change to the patch and submit it in Jira, so here it is.

          [JENKINS-6873] "Status Code: 404" when clicking on "schedule build" and deprecated method used by m2release.

          sinkha created issue -
          James Nord made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Nord made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136968 ] New: JNJira + In-Review [ 204308 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

            Unassigned Unassigned
            sinkha sinkha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: