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

Link to wrong port

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None
    • Ubuntu 10.4 desktop
      Hudson 1.369

      background:
      this plug-in is developed with Netbeans which got a build debugger that make a Hudson server on port 8080.
      when a the plug works i do a clean build and try it on my winestone hudsonserver to check for more errors.

      im use my own <t:jobLink job="${it.getProject()}" /> look like this:

      {{<img src="${imagesURL}/16x16/${d.buildStatusUrl}" alt="${d.iconColor.description}"/>
      <a href="${d.getAbsoluteUrl()}" target="_parent">${d.displayName}</a>}}

      so i can add target="_parent".

      the problem is that ${d.getAbsoluteUrl()} gives false url.

      sometimes i got a "show-hudson" by: java -jar hudson.war --httpPort=8081 at the same time as
      netbeans debugg, when i run the winstone without --httpPort=8081, it do has default port:8080

      BUT the ${d.getAbsoluteUrl()} gives : http://hudson-desktop.local:8081/job/grass-1_0_1/
      and not http://hudson-desktop.local:8080/job/grass-1_0_1/

      so it do uses my Old port.

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

              Created:
              Updated:
              Resolved: