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

Support Fingerprinting of consumed dependencies

    Details

    • Similar Issues:

      Description

      The standard Maven Project in Jenkins provides the ability to fingerprint consumed artifacts. If the consumed artifact was created by a Jenkins build (and fingerprinted), Jenkins will link you back to the point of origin.

      Use cases:

      1. When an upstream project causes an exception, you can easily find the build of the dependency to get information which will help narrow in on the root cause like the upstream changelog.
      2. When releasing (or preparing to release) the downstream build, you can see exactly what upstream builds are implicitly being released with it.  

       

       

        Attachments

          Activity

          Hide
          cleclerc Cyrille Le Clerc added a comment -

          FYI I want to first implement JENKINS-44384 so that it will be much more easy to disable this resource intensive feature

          Show
          cleclerc Cyrille Le Clerc added a comment - FYI I want to first implement JENKINS-44384 so that it will be much more easy to disable this resource intensive feature
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Justin Barry
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help-disabled.html
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help.html
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenPublisherTest.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessorTest.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisherTest.java
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/maven-spy.xml
          maven-spy/src/main/java/org/jenkinsci/plugins/pipeline/maven/eventspy/handler/DependencyResolutionResultHandler.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/a1ad1585918a6d7c2a373df92046bd674ef2f2d8
          Log:
          JENKINS-43094 Add Maven Dependencies Fingerprint Publisher

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Justin Barry Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help-disabled.html jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help.html jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenPublisherTest.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessorTest.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisherTest.java jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/maven-spy.xml maven-spy/src/main/java/org/jenkinsci/plugins/pipeline/maven/eventspy/handler/DependencyResolutionResultHandler.java http://jenkins-ci.org/commit/pipeline-maven-plugin/a1ad1585918a6d7c2a373df92046bd674ef2f2d8 Log: JENKINS-43094 Add Maven Dependencies Fingerprint Publisher
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly
          http://jenkins-ci.org/commit/pipeline-maven-plugin/3c9ab161f1a17e1b89c14a4703fb4e5a6aa9645a
          Log:
          JENKINS-43094 Add Maven Dependencies Fingerprint Publisher

          Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/8284bc9561a4^...3c9ab161f1a1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly http://jenkins-ci.org/commit/pipeline-maven-plugin/3c9ab161f1a17e1b89c14a4703fb4e5a6aa9645a Log: JENKINS-43094 Add Maven Dependencies Fingerprint Publisher Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/8284bc9561a4 ^...3c9ab161f1a1
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/c4ec6ad5653f69a1b294b07856ad785b94a7b45a
          Log:
          JENKINS-43094 Add Maven Dependencies Fingerprint Publisher

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java http://jenkins-ci.org/commit/pipeline-maven-plugin/c4ec6ad5653f69a1b294b07856ad785b94a7b45a Log: JENKINS-43094 Add Maven Dependencies Fingerprint Publisher
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/.gitignore
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/pom.xml
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/src/main/java/com/example/App.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/b3e48c2b176349ed16ed5d80609e1d090d897496
          Log:
          JENKINS-43094 Add ATH unit test tests

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/.gitignore jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/pom.xml jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/src/main/java/com/example/App.java http://jenkins-ci.org/commit/pipeline-maven-plugin/b3e48c2b176349ed16ed5d80609e1d090d897496 Log: JENKINS-43094 Add ATH unit test tests
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/301bd817255773a920c22c8ac3841d38610ebe71
          Log:
          JENKINS-43094 bug found by Findbugs!

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java http://jenkins-ci.org/commit/pipeline-maven-plugin/301bd817255773a920c22c8ac3841d38610ebe71 Log: JENKINS-43094 bug found by Findbugs!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/ea4cffc05d62854dd3bbbe0ff578cb7979310a13
          Log:
          JENKINS-43094 Fingerprint.original for maven dependencies should be null

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java http://jenkins-ci.org/commit/pipeline-maven-plugin/ea4cffc05d62854dd3bbbe0ff578cb7979310a13 Log: JENKINS-43094 Fingerprint.original for maven dependencies should be null
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help-disabled.html
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help.html
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenPublisherTest.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessorTest.java
          jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisherTest.java
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/maven-spy.xml
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/.gitignore
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/pom.xml
          jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/src/main/java/com/example/App.java
          maven-spy/src/main/java/org/jenkinsci/plugins/pipeline/maven/eventspy/handler/DependencyResolutionResultHandler.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/686cb44059ec1123ad8fb29b14e046e5007c7b8e
          Log:
          Merge pull request #58 from jenkinsci/JENKINS-43094-2

          WIP JENKINS-43094 Add fingerprinting of Maven Dependencies

          Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/14415916fcbb...686cb44059ec

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/util/XmlUtils.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help-disabled.html jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/help.html jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/DependencyFingerprintPublisherTest.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenPublisherTest.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessorTest.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisherTest.java jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/maven-spy.xml jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/.gitignore jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/pom.xml jenkins-plugin/src/test/resources/org/jenkinsci/plugins/pipeline/maven/test/test_maven_projects/mono_dependency_maven_jar_project/src/main/java/com/example/App.java maven-spy/src/main/java/org/jenkinsci/plugins/pipeline/maven/eventspy/handler/DependencyResolutionResultHandler.java http://jenkins-ci.org/commit/pipeline-maven-plugin/686cb44059ec1123ad8fb29b14e046e5007c7b8e Log: Merge pull request #58 from jenkinsci/ JENKINS-43094 -2 WIP JENKINS-43094 Add fingerprinting of Maven Dependencies Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/14415916fcbb...686cb44059ec
          Show
          cleclerc Cyrille Le Clerc added a comment - Chris Russell can you please test https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/pipeline-maven/2.5.0-alpha-1/pipeline-maven-2.5.0-alpha-1.hpi and verify that fingerprinting works well.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Cyrille Le Clerc
          Path:
          jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java
          jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly
          http://jenkins-ci.org/commit/pipeline-maven-plugin/88ca34c1a685f29e5a16d7e23a372bf1f2fc5596
          Log:
          JENKINS-43094 fix default values on the web configuration page of the Dependencies Fingerprint Publisher

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher.java jenkins-plugin/src/main/resources/org/jenkinsci/plugins/pipeline/maven/publishers/DependenciesFingerprintPublisher/config.jelly http://jenkins-ci.org/commit/pipeline-maven-plugin/88ca34c1a685f29e5a16d7e23a372bf1f2fc5596 Log: JENKINS-43094 fix default values on the web configuration page of the Dependencies Fingerprint Publisher
          Hide
          cleclerc Cyrille Le Clerc added a comment -

          Version 2.5.0

          Show
          cleclerc Cyrille Le Clerc added a comment - Version 2.5.0

            People

            • Assignee:
              cleclerc Cyrille Le Clerc
              Reporter:
              crussell52 Chris Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: