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

Maven Linker Publisher unable to publish links

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline-maven-plugin
    • None
    • jenkins-war:2.187
      Pipeline Maven Integration Plugin:3.8.0

      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'
      }
      
      

       

          [JENKINS-58807] Maven Linker Publisher unable to publish links

          Lasse Lindqvist created issue -
          Lasse Lindqvist made changes -
          Description Original: 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.
          New: 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'
          }
          Cyrille Le Clerc made changes -
          Description Original: 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'
          }
          New: 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}
           
          Cyrille Le Clerc made changes -
          Assignee Original: Alvaro Lobato [ alobato ] New: Cyrille Le Clerc [ cleclerc ]
          Cyrille Le Clerc made changes -
          Issue Type Original: New Feature [ 2 ] New: Bug [ 1 ]
          Cyrille Le Clerc made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Lasse Lindqvist made changes -
          Attachment New: screenshot-1.png [ 48343 ]
          Arnaud Héritier made changes -
          Assignee Original: Cyrille Le Clerc [ cleclerc ]
          Arnaud Héritier made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

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

              Created:
              Updated: