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

Support Fingerprinting of consumed dependencies

    XMLWordPrintable

    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
          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: