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

Make fingerprinting configurable in Maven projects

    Details

    • Similar Issues:

      Description

      Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used).

      In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher.

      This needs to be possible for Maven Projects, too.

      Consider for example a Maven project that uses post-build steps to create additional artifacts. You can archive them (without them being fingerprinted), but you cannot choose to fingerprint them.

      Looking at hudson.tasks.Fingerprinter, I see no reason why this publisher should not be available for configuration.

      If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course), so this seems to be a display issue. One small drawback: two fingerprintActions are included.

      Tasks:

      • make Fingerprinter available for Maven projects
      • prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does))

      the second part is trivial, I can create a pull request for that.

        Attachments

          Issue Links

            Activity

            paux Stephan Pauxberger created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Not A Defect [ 7 ]
            paux Stephan Pauxberger made changes -
            Resolution Not A Defect [ 7 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            paux Stephan Pauxberger made changes -
            Environment 1.448
            Description Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used).

            In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher.

            This needs to be possible for Maven Projects, too.

            Consider for example a Maven project that uses post-build steps to create additional artifacts. You con archive them (without them being fingerprinted), but you cannot choose to fingerprint them.

            Looking at hudson.tasks.Fringerprinter, I see no reason why this publisher should not be available for configuration.

            If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course). One small drawback: two fingerprintActions are included.

            Tasks:

            - make Fingerprinter available for Maven projects
            - prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does))

            the second part is trivial, I can create a pull request for that.
             

            Currently, in a Maven Project, fingerprints are generated for all build artifacts (created and used).

            In a freestyle project, you can manually select files to be fingerprinted using the Fingerprinter publisher.

            This needs to be possible for Maven Projects, too.

            Consider for example a Maven project that uses post-build steps to create additional artifacts. You can archive them (without them being fingerprinted), but you cannot choose to fingerprint them.

            Looking at hudson.tasks.Fingerprinter, I see no reason why this publisher should not be available for configuration.

            If you enter the publisher by hand into the config.xml of a job, it works (until you reconfig that job, of course), so this seems to be a display issue. One small drawback: two fingerprintActions are included.

            Tasks:

            - make Fingerprinter available for Maven projects
            - prevent Fingerprinter from always creating a new FingerprintAction (i.e. let it check for any existing FingerprintActions (like MavenFingerprinter does))

            the second part is trivial, I can create a pull request for that.
             

            paux Stephan Pauxberger made changes -
            Attachment FreeStylePublishers.png [ 21437 ]
            Attachment MavenJobPublishers.png [ 21438 ]
            jglick Jesse Glick made changes -
            Summary Fingerprinter-Publisher should be available in Maven jobs Make fingerprinting configurable in Maven projects
            Labels fingerprints performance
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-19712 [ JENKINS-19712 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-11814 [ JENKINS-11814 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-17606 [ JENKINS-17606 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-18615 [ JENKINS-18615 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s maven-plugin [ 16033 ]
            Component/s maven2 [ 15487 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 141552 ] JNJira + In-Review [ 189685 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                paux Stephan Pauxberger
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: