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

ant build and pom.xml result in invalid URL's for tasks-plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • tasks-plugin
    • None
    • Platform: All, OS: All

    Description

      I have a project that is build using ant. If I have for example the following
      pom.xml file in the directory (this project is part of a larger Maven project)
      the tasks plugin will generate invalid URL's.

      After the build using ant if I go to Open Task I will end up with the following
      URL to go to tasks: "foo:%20Testing%20something" which will not work.

      I think the correct solution is for the tasks-plugin to be aware what build
      system is used, if not Maven is used it should ignore the pom.xml file instead
      of always looking for it and using the name of the module.

      ----- POM.XML
      <project>
      <modelVersion>4.0.0</modelVersion>
      <packaging>jar</packaging>
      <artifactId>FOO</artifactId>
      <name>FOO: Testing something</name>
      <build />
      </project>

      Attachments

        Activity

          People

            drulli Ulli Hafner
            kooper kooper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: