-
Bug
-
Resolution: Unresolved
-
Minor
-
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
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' } |
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} |
Assignee | Original: Alvaro Lobato [ alobato ] | New: Cyrille Le Clerc [ cleclerc ] |
Issue Type | Original: New Feature [ 2 ] | New: Bug [ 1 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Attachment | New: screenshot-1.png [ 48343 ] |
Assignee | Original: Cyrille Le Clerc [ cleclerc ] |
I have clarified the documentation Pipeline+Maven+Plugin
You need to also enable the `pipelineGraphPublisher`:
Can you try the following: