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

HTML Publisher - HTTP 404 - The requested resource is not available

      I'm running the latest version of Jenkins and installed the HTML Publisher plugin.

      HTML reports are being created, but when I navigate to them: http://localhost:8080/jenkins/job/frisbyjs/24/FrisbyHTMLReport/

      I'm getting:
      HTTP Status 404
      type Status report

      message

      description The requested resource is not available.

      Apache Tomcat/7.0.56

      Please help, I just want to be able to see the report in html format.
      See attachment for console output

          [JENKINS-25328] HTML Publisher - HTTP 404 - The requested resource is not available

          Daniel Beck added a comment -

          Show the job configuration.

          Daniel Beck added a comment - Show the job configuration.

          Tripta Gupta added a comment -

          I added the job config. Thanks. Also, are there any tools to prettify the HTML report?

          Tripta Gupta added a comment - I added the job config. Thanks. Also, are there any tools to prettify the HTML report?

          Daniel Beck added a comment -

          Please provide the config.xml for the job, as well as a directory listing of the job's workspace after it finishes building, and the destination directory shown in the first screenshot (the one to the right).

          Daniel Beck added a comment - Please provide the config.xml for the job, as well as a directory listing of the job's workspace after it finishes building, and the destination directory shown in the first screenshot (the one to the right).

          I'm also seeing this on Jenkins 1.598.

          Matthew Mitchell added a comment - I'm also seeing this on Jenkins 1.598.

          Daniel Beck added a comment -

          Yep, posting that and not providing the information I'm asking for in the comment from October is going to be really helpful...

          Daniel Beck added a comment - Yep, posting that and not providing the information I'm asking for in the comment from October is going to be really helpful...

          That was more of a "is this known"...

          I'm seeing the archive happen correctly:

          config.xml:

          http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/config.xml (Let me know if you can't access this)

          Link:

          http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/lastSuccessfulBuild/Code_Coverage_Report/

          Last successful build listing (abbreviated)

          ******@dotnet-ci:/var/lib/jenkins/jobs/dotnet_corefx_coverage_windows/builds/lastSuccessfulBuild/htmlreports/Code_Coverage_Report$ ls
          combined.js System.Reflection.Metadata_MethodSemanticsTableReader.htm
          htmlpublisher-wrapper.html System.Reflection.Metadata_MethodSpecificationHandle.htm
          index.htm System.Reflection.Metadata_MethodSpecification.htm
          MemoryMappedFile.Tests.dll.coverage.xml System.Reflection.Metadata_MethodSpecTableReader.htm
          MemoryMappedViewAccessor.Tests.dll.coverage.xml System.Reflection.Metadata_MethodTableReader.htm
          MemoryMappedViewStream.Tests.dll.coverage.xml System.Reflection.Metadata_ModuleDefinitionHandle.htm
          Microsoft.Win32.Primitives_Interop.htm System.Reflection.Metadata_ModuleDefinition.htm
          Microsoft.Win32.Primitives.Tests.dll.coverage.xml System.Reflection.Metadata_ModuleReferenceHandle.htm
          Microsoft.Win32.Primitives_Win32Exception.htm System.Reflection.Metadata_ModuleReference.htm
          Microsoft.Win32.Registry_Interop.htm System.Reflection.Metadata_ModuleRefTableReader.htm
          Microsoft.Win32.Registry_Registry.htm System.Reflection.Metadata_ModuleTableReader.htm
          Microsoft.Win32.Registry_RegistryKey.htm System.Reflection.Metadata_NamespaceCache.htm
          Microsoft.Win32.Registry_SafeRegistryHandle.htm System.Reflection.Metadata_NamespaceData.htm
          Microsoft.Win32.Registry_SR.htm System.Reflection.Metadata_NamespaceDefinitionHandle.htm
          Microsoft.Win32.Registry_Strings.htm System.Reflection.Metadata_NamespaceDefinition.htm
          Microsoft.Win32.Registry.Tests.dll.coverage.xml System.Reflection.Metadata_NativeHeapMemoryBlock.htm
          Microsoft.Win32.Registry_ThrowHelper.htm System.Reflection.Metadata_NestedClassTableReader.htm
          report.css System.Reflection.Metadata_ObjectPool_1.htm
          ...

          Matthew Mitchell added a comment - That was more of a "is this known"... I'm seeing the archive happen correctly: config.xml: http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/config.xml (Let me know if you can't access this) Link: http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/lastSuccessfulBuild/Code_Coverage_Report/ Last successful build listing (abbreviated) ******@dotnet-ci:/var/lib/jenkins/jobs/dotnet_corefx_coverage_windows/builds/lastSuccessfulBuild/htmlreports/Code_Coverage_Report$ ls combined.js System.Reflection.Metadata_MethodSemanticsTableReader.htm htmlpublisher-wrapper.html System.Reflection.Metadata_MethodSpecificationHandle.htm index.htm System.Reflection.Metadata_MethodSpecification.htm MemoryMappedFile.Tests.dll.coverage.xml System.Reflection.Metadata_MethodSpecTableReader.htm MemoryMappedViewAccessor.Tests.dll.coverage.xml System.Reflection.Metadata_MethodTableReader.htm MemoryMappedViewStream.Tests.dll.coverage.xml System.Reflection.Metadata_ModuleDefinitionHandle.htm Microsoft.Win32.Primitives_Interop.htm System.Reflection.Metadata_ModuleDefinition.htm Microsoft.Win32.Primitives.Tests.dll.coverage.xml System.Reflection.Metadata_ModuleReferenceHandle.htm Microsoft.Win32.Primitives_Win32Exception.htm System.Reflection.Metadata_ModuleReference.htm Microsoft.Win32.Registry_Interop.htm System.Reflection.Metadata_ModuleRefTableReader.htm Microsoft.Win32.Registry_Registry.htm System.Reflection.Metadata_ModuleTableReader.htm Microsoft.Win32.Registry_RegistryKey.htm System.Reflection.Metadata_NamespaceCache.htm Microsoft.Win32.Registry_SafeRegistryHandle.htm System.Reflection.Metadata_NamespaceData.htm Microsoft.Win32.Registry_SR.htm System.Reflection.Metadata_NamespaceDefinitionHandle.htm Microsoft.Win32.Registry_Strings.htm System.Reflection.Metadata_NamespaceDefinition.htm Microsoft.Win32.Registry.Tests.dll.coverage.xml System.Reflection.Metadata_NativeHeapMemoryBlock.htm Microsoft.Win32.Registry_ThrowHelper.htm System.Reflection.Metadata_NestedClassTableReader.htm report.css System.Reflection.Metadata_ObjectPool_1.htm ...

          Daniel Beck added a comment -

          I'd rather not grant the permissions requested. Could you attach a config.xml (a config for a demo/test job showing the problem is sufficient) to this issue?

          Daniel Beck added a comment - I'd rather not grant the permissions requested. Could you attach a config.xml (a config for a demo/test job showing the problem is sufficient) to this issue?

          Daniel Beck added a comment -

          From your comment it looks like you configured index.html, but it's index.htm.

          Daniel Beck added a comment - From your comment it looks like you configured index.html, but it's index.htm.

          Daniel Beck added a comment -

          Daniel Beck added a comment - Confirmed: http://dotnet-ci.cloudapp.net/job/dotnet_corefx_coverage_windows/18/Code_Coverage_Report/index.htm

          Daniel Beck added a comment -

          No response to comment asking for additional information by the original reporter in months, and second commenter's issue is a misconfiguration.

          Therefore resolving as Not a Defect.

          Daniel Beck added a comment - No response to comment asking for additional information by the original reporter in months, and second commenter's issue is a misconfiguration. Therefore resolving as Not a Defect.

            Unassigned Unassigned
            tgupta Tripta Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: