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

'site-deplpoy' adds empty entries to the list of deployed artifacts

      if a build also deploys the generated site to a remote host, the 'maven-deployment-linker' plugin adds each page as a deployed artifact to the list.
      But these artifacts are added in a wrong way, the list is created with html like this:

      <li>
      <li><a href=".//pkgdepend.html to http://XXXXXXX:8081/nexus/content/sites/somepath/ABCED_Plugin/"></a></li>
      <li>
      <li>
      <a href=".//dependencies.html to http://XXXXXXX:8081/nexus/content/sites/site/somepath/maven-plugins/ABCD_Plugin/"></a>
      </li>

      as you can see in the html and on the picture, there is no text added to the list items, only an anker tag.

      I think the plugin should ignore the files generated by the site plugin at all.

          [JENKINS-16141] 'site-deplpoy' adds empty entries to the list of deployed artifacts

          Dominik Bartholdi created issue -
          Dominik Bartholdi made changes -
          Description Original: if a build also deploys the generated site to a remote host, the 'maven-deployment-linker' plugin adds each page as a deployed artifact to the list.
          But these artifacts are added in a wrong way, the list is created with html like this:

          {{
          <li>
          <li><a href=".//pkgdepend.html to http://XXXXXXX:8081/nexus/content/sites/somepath/ABCED_Plugin/"></a></li>
          <li>
          <li>
          <a href=".//dependencies.html to http://XXXXXXX:8081/nexus/content/sites/site/somepath/maven-plugins/ABCD_Plugin/"></a>
          </li>
          }}

          as you can see in the html and on the picture, there is no text added to the list items, only an anker tag.

          I think the plugin should ignore the files generated by the site plugin at all.

          New: if a build also deploys the generated site to a remote host, the 'maven-deployment-linker' plugin adds each page as a deployed artifact to the list.
          But these artifacts are added in a wrong way, the list is created with html like this:

          <li>
          <li><a href=".//pkgdepend.html to http://XXXXXXX:8081/nexus/content/sites/somepath/ABCED_Plugin/"></a></li>
          <li>
          <li>
          <a href=".//dependencies.html to http://XXXXXXX:8081/nexus/content/sites/site/somepath/maven-plugins/ABCD_Plugin/"></a>
          </li>

          as you can see in the html and on the picture, there is no text added to the list items, only an anker tag.

          I think the plugin should ignore the files generated by the site plugin at all.

          Matthias Balke made changes -
          Attachment New: maven_site_output.txt [ 31111 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146945 ] New: JNJira + In-Review [ 176770 ]

            lshatzer Larry Shatzer, Jr.
            domi Dominik Bartholdi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: