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

On M2 job, with only one sudmodule built, link to maven site failed with 404 message.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Windows Server 2003, Jenkins 1.409, Maven 2.2.1, Java 1.6

      Hello,

      The architecture of the project is not a "normal" one:

      • /
        • project 1
          • pom.xml
          • src
        • project 2
          • pom.xml
          • module 1
            • pom.xml
            • ...
          • module 2
            • pom.xml
            • ...
        • ...

      in the job configuration, we specify a pom (project 2/module 2/pom.xml) to use to build the part of the project (goal clean deploy site).
      In the Job page, there is the link to the site but it shows a 404 error. The url is "http://<server-name>/job/<job-name>/site" so I do not know where it looks for the site (but it is on the good server and it is the good job name).

          [JENKINS-10777] On M2 job, with only one sudmodule built, link to maven site failed with 404 message.

          Adrien Lecharpentier created issue -
          Adrien Lecharpentier made changes -
          Description Original: Hello,

          The architecture of the project is not a "normal" one:
           - /
             - project 1
               - pom.xml
               - src
             - project 2
               - pom.xml
               - module 1
                 - pom.xml
                 ...
               - module 2
                 - pom.xml
                 ...
          ...

          in the job configuration, we specify a pom (project 2/module 2/pom.xml) to use to build the part of the project (goal clean deploy site).
          In the Job page, there is the link to the site but it shows a 404 error. The url is "http://&lt;server-name&gt;/job/&lt;job-name&gt;/site" so I do not know where it looks for the site (but it is on the good server and it is the good job name).
          New: Hello,

          The architecture of the project is not a "normal" one:
           * /
             ** project 1
               *** pom.xml
               *** src
             ** project 2
               *** pom.xml
               *** module 1
                 **** pom.xml
                 **** ...
               *** module 2
                 **** pom.xml
                 **** ...
          **...

          in the job configuration, we specify a pom (project 2/module 2/pom.xml) to use to build the part of the project (goal clean deploy site).
          In the Job page, there is the link to the site but it shows a 404 error. The url is "http://&lt;server-name&gt;/job/&lt;job-name&gt;/site" so I do not know where it looks for the site (but it is on the good server and it is the good job name).
          Adrien Lecharpentier made changes -
          Description Original: Hello,

          The architecture of the project is not a "normal" one:
           * /
             ** project 1
               *** pom.xml
               *** src
             ** project 2
               *** pom.xml
               *** module 1
                 **** pom.xml
                 **** ...
               *** module 2
                 **** pom.xml
                 **** ...
          **...

          in the job configuration, we specify a pom (project 2/module 2/pom.xml) to use to build the part of the project (goal clean deploy site).
          In the Job page, there is the link to the site but it shows a 404 error. The url is "http://&lt;server-name&gt;/job/&lt;job-name&gt;/site" so I do not know where it looks for the site (but it is on the good server and it is the good job name).
          New: Hello,

          The architecture of the project is not a "normal" one:
           * /
             ** project 1
               *** pom.xml
               *** src
             ** project 2
               *** pom.xml
               *** module 1
                 **** pom.xml
                 **** ...
               *** module 2
                 **** pom.xml
                 **** ...
          ** ...

          in the job configuration, we specify a pom (project 2/module 2/pom.xml) to use to build the part of the project (goal clean deploy site).
          In the Job page, there is the link to the site but it shows a 404 error. The url is "http://&lt;server-name&gt;/job/&lt;job-name&gt;/site" so I do not know where it looks for the site (but it is on the good server and it is the good job name).

          evernat added a comment -

          Is it reproduced with a recent Jenkins version?
          If yes, can you upload a zip file of the project to reproduce it?

          evernat added a comment - Is it reproduced with a recent Jenkins version? If yes, can you upload a zip file of the project to reproduce it?

          Yes, it is reproducible on version 1.522. I will see, if I can find time to make a demo-project.

          Thomas Vestergaard Trolle added a comment - Yes, it is reproducible on version 1.522. I will see, if I can find time to make a demo-project.
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140979 ] New: JNJira + In-Review [ 175385 ]

            Unassigned Unassigned
            alecharp Adrien Lecharpentier
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: