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

Missing images in "Configure the trend graph"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: tasks-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.359 / Static Analysis Collector Plug-in 1.5 / Static Analysis Utilities 1.8 / Task Scanner Plug-in 4.7
    • Similar Issues:

      Description

      My job is configured to scan open tasks.
      On the job homepage, I can see the "Open Tasks Trend" graph.
      Below the graph, there is a "Configure" link.
      When I click on the this link, I get the page "Configure the trend graph".
      Four types are available. For all of them, the image is missing (see the attached screenshot).

      URL of images is (values between <> are correct in the live environment):
      http://<servername>/hudson/job/<jobname>/tasks/configure/<graphtype>/png

      When I put the link in a browser, error message is: HTTP Status 404 - The requested resource () is not available.
      No errors in the Tomcat logs

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -
          Show
          drulli Ulli Hafner added a comment - BTW: can you try to enable logging: http://wiki.jenkins-ci.org/display/JENKINS/Figuring+out+URL+binding+of+Stapler
          Hide
          bcoppens bcoppens added a comment -

          How do you reach the page ".../job/<Job Name>/tasks/configureDefaults/" ?

          Show
          bcoppens bcoppens added a comment - How do you reach the page ".../job/<Job Name>/tasks/configureDefaults/" ?
          Hide
          drulli Ulli Hafner added a comment -

          Either by typing the URL or by using the Job configuration. Job->Configure->Tasks Plugin->Advanced->Configure trend graph.

          Show
          drulli Ulli Hafner added a comment - Either by typing the URL or by using the Job configuration. Job->Configure->Tasks Plugin->Advanced->Configure trend graph.
          Hide
          bcoppens bcoppens added a comment - - edited

          I think I found the origin of the issue.
          I don't know if it is due to a Hudson bug or a misconfiguration.
          Between each test case:

          1) Hudson is restarted
          2) I log out from Hudson
          3) I restart the browser

          On the 4 test cases, 2 are OK, 2 or KO.
          I think the 4 of them should work.

          ***********
          Test case 1
          ***********
          1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>/hudson
          2) I access Hudson with the URL http://<serverName>/hudson

          In that case:

          • issue is NOT present
          • graph on job homepage IS present and has the form http://<serverName>/hudson/job/<jobName>/tasks/<graphType>/png
          • graphs on "Configure the trend graph" ARE present and have the form http://<serverName>/hudson/job/<jobName>/tasks/configure/<graphType>/png

          ***********
          Test case 2
          ***********
          1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>/hudson
          2) I access Hudson with the URL http://<serverName>.<domainName>/hudson

          In that case:

          • issue IS present
          • graph on job homepage IS present and has the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/<graphType>/png
          • graphs on "Configure the trend graph" are NOT present and have the form http://<serverName>/hudson/job/<jobName>/tasks/configure/<graphType>/png

          ***********
          Test case 3
          ***********
          1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>.<domainName>/hudson
          2) I access Hudson with the URL http://<serverName>/hudson

          In that case

          • issue IS present
          • graph on job homepage IS present and has the form http://<serverName>/hudson/job/<jobName>/tasks/<graphType>/png
          • graphs on "Configure the trend graph" are NOT present and have the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/configure/<graphType>/png

          ***********
          Test case 4
          ***********
          1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>.<domainName>/hudson
          2) I access Hudson with the URL http://<serverName>.<domainName>/hudson

          In that case:

          • issue is NOT present
          • graph on job homepage IS present and has the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/<graphType>/png
          • graphs on "Configure the trend graph" ARE present and have the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/configure/<graphType>/png
          Show
          bcoppens bcoppens added a comment - - edited I think I found the origin of the issue. I don't know if it is due to a Hudson bug or a misconfiguration. Between each test case: 1) Hudson is restarted 2) I log out from Hudson 3) I restart the browser On the 4 test cases, 2 are OK, 2 or KO. I think the 4 of them should work. *********** Test case 1 *********** 1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>/hudson 2) I access Hudson with the URL http://<serverName>/hudson In that case: issue is NOT present graph on job homepage IS present and has the form http://<serverName>/hudson/job/<jobName>/tasks/<graphType>/png graphs on "Configure the trend graph" ARE present and have the form http://<serverName>/hudson/job/<jobName>/tasks/configure/<graphType>/png *********** Test case 2 *********** 1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>/hudson 2) I access Hudson with the URL http://<serverName>.<domainName>/hudson In that case: issue IS present graph on job homepage IS present and has the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/<graphType>/png graphs on "Configure the trend graph" are NOT present and have the form http://<serverName>/hudson/job/<jobName>/tasks/configure/<graphType>/png *********** Test case 3 *********** 1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>.<domainName>/hudson 2) I access Hudson with the URL http://<serverName>/hudson In that case issue IS present graph on job homepage IS present and has the form http://<serverName>/hudson/job/<jobName>/tasks/<graphType>/png graphs on "Configure the trend graph" are NOT present and have the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/configure/<graphType>/png *********** Test case 4 *********** 1) In "Manage Hudson", "Configure System", "E-mail Notification", Hudson URL is set to http://<serverName>.<domainName>/hudson 2) I access Hudson with the URL http://<serverName>.<domainName>/hudson In that case: issue is NOT present graph on job homepage IS present and has the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/<graphType>/png graphs on "Configure the trend graph" ARE present and have the form http://<serverName>.<domainName>/hudson/job/<jobName>/tasks/configure/<graphType>/png
          Hide
          drulli Ulli Hafner added a comment -

          I see. I'm using Hudson's root URL to build the graph URLs in the configuration screens. Maybe using relative links should also work... I'll try.

          Show
          drulli Ulli Hafner added a comment - I see. I'm using Hudson's root URL to build the graph URLs in the configuration screens. Maybe using relative links should also work... I'll try.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              bcoppens bcoppens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: