Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-maven-plugin
-
Labels:None
-
Similar Issues:
Description
Reproduction:
- fresh jenkins install via docker
- Install/configure with bare minimum to use v2.0 of this plugin
- Create simple pipeline job to build this plugin
See attached screen shot for results. Jenkins does not recognize the fingerprint of the artifacts.
Pipeline script is as follows:
node() { git 'git@github.com:my-fork/pipeline-maven-plugin.git' withMaven(maven: 'M3') { sh "mvn clean install" } }
The problem resides in the way we invoke the FingerprintAction
https://github.com/jenkinsci/pipeline-maven-plugin/blob/pipeline-maven-parent-2.0/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/reporters/GeneratedArtifactsReporter.java#L104