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

concordion presenter does not handle relative links outside of its directory

XMLWordPrintable

      We have a maven multimodule build. When I use the concordion presenter plugin, I can view the index.html page, but none of the links on that page work.

      # Setup:
      Our layout is like this:
      target/concordion/index.html (the main index.html)
      projectname/target/concordion/... (the project specific results)

      the index.html contains relative links to the projects, like href="../../projectname/target/concordion/......"

      The plugin is configured to use "target/concordion" as it's directory.

      # What happens
      Now, when I click in the "Latest Concordion Report" link, the URL I get is:
      ...../job/job_name/lastCompletedBuild/concordion/
      This shows the index.html. But all the relative links go up two levels to the job_name, which fails.

      When I click on the artifact directly:
      ...../job/job_name/lastSuccessfulBuild/artifact/target/concordion/
      the relative URLs go correctly up to the artifact/ directory, and everything works fine.

      # Solution?
      For us it would be enough if the concordion link would simply redirect to the artifact directory. But we already archive the relevant artifacts "**/target/concordion/**/*.*".

      Any ideas?

            Unassigned Unassigned
            marc_guenther Marc Günther
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: