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

Maven Linker Publisher unable to publish links

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: pipeline-maven-plugin
    • Labels:
      None
    • Environment:
      jenkins-war:2.187
      Pipeline Maven Integration Plugin:3.8.0
    • Similar Issues:

      Description

      When enabling Maven Linker Publisher, the pipeline syntax generator suggests "Don't forget to enable the "Downstream Pipeline Triggers" publisher to enable the "Maven Linker" publisher."

      As the instructions imply, just using the Linker Publisher does nothing, but there is no "Downstream Pipeline Triggers" that can be enabled.
      Only Pipeline Graph Publisher has such a choice, and it doesn't seem clear how it should be used to be able to do only link publishing.

      Example pipeline syntax which does not publish links:

      withMaven(publisherStrategy: 'EXPLICIT', options: [mavenLinkerPublisher()]) {
         sh 'mvn clean deploy'
      }
      
      

       

        Attachments

          Activity

          lasselindqvist Lasse Lindqvist created issue -
          lasselindqvist Lasse Lindqvist made changes -
          Field Original Value New Value
          Description When enabling Maven Linker Publisher, the pipeline syntax generator suggests "Don't forget to enable the "Downstream Pipeline Triggers" publisher to enable the "Maven Linker" publisher."

          As the instructions imply, just using the Linker Publisher does nothing, but there is no "Downstream Pipeline Triggers" that can be enabled.
          Only Pipeline Graph Publisher has such a choice, and it doesn't seem clear how it should be used to be able to do only link publishing.
          When enabling Maven Linker Publisher, the pipeline syntax generator suggests "Don't forget to enable the "Downstream Pipeline Triggers" publisher to enable the "Maven Linker" publisher."

          As the instructions imply, just using the Linker Publisher does nothing, but there is no "Downstream Pipeline Triggers" that can be enabled.
          Only Pipeline Graph Publisher has such a choice, and it doesn't seem clear how it should be used to be able to do only link publishing.

          Example pipeline syntax which does not publish links:
          withMaven(maven: 'M3',
          options: [mavenLinkerPublisher()],
          publisherStrategy: 'EXPLICIT') {
          sh 'mvn clean deploy'
          }
          cleclerc Cyrille Le Clerc made changes -
          Description When enabling Maven Linker Publisher, the pipeline syntax generator suggests "Don't forget to enable the "Downstream Pipeline Triggers" publisher to enable the "Maven Linker" publisher."

          As the instructions imply, just using the Linker Publisher does nothing, but there is no "Downstream Pipeline Triggers" that can be enabled.
          Only Pipeline Graph Publisher has such a choice, and it doesn't seem clear how it should be used to be able to do only link publishing.

          Example pipeline syntax which does not publish links:
          withMaven(maven: 'M3',
          options: [mavenLinkerPublisher()],
          publisherStrategy: 'EXPLICIT') {
          sh 'mvn clean deploy'
          }
          When enabling Maven Linker Publisher, the pipeline syntax generator suggests "Don't forget to enable the "Downstream Pipeline Triggers" publisher to enable the "Maven Linker" publisher."

          As the instructions imply, just using the Linker Publisher does nothing, but there is no "Downstream Pipeline Triggers" that can be enabled.
           Only Pipeline Graph Publisher has such a choice, and it doesn't seem clear how it should be used to be able to do only link publishing.

          Example pipeline syntax which does not publish links:
          {code:java}
          withMaven(publisherStrategy: 'EXPLICIT', options: [mavenLinkerPublisher()]) {
             sh 'mvn clean deploy'
          }

          {code}
           
          cleclerc Cyrille Le Clerc made changes -
          Assignee Alvaro Lobato [ alobato ] Cyrille Le Clerc [ cleclerc ]
          cleclerc Cyrille Le Clerc made changes -
          Issue Type New Feature [ 2 ] Bug [ 1 ]
          cleclerc Cyrille Le Clerc made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          lasselindqvist Lasse Lindqvist made changes -
          Attachment screenshot-1.png [ 48343 ]
          aheritier Arnaud Héritier made changes -
          Assignee Cyrille Le Clerc [ cleclerc ]
          aheritier Arnaud Héritier made changes -
          Status In Progress [ 3 ] Open [ 1 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lasselindqvist Lasse Lindqvist
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: