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

Allow disabling use of default exclude patterns (.git, .svn, etc.) for fingerprinting

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Summary:

      The fingerprint plugin is no more able to take fingerprint of a "hidden" file such as .git/FETCH_HEAD.

      I am assuming it is an issue in Jenkins core, though the plugin might not have reflected a change to how files are detected in core.

      How to reproduce:

      Install the finger print plugin. Create a simple job. In the workspace directory create a directory '.git' (note the leading dot), create a FETCH_HEAD file in it with some random content.

      Add a build step 'fingerprint' files.

      In the field "Files to fingerprint" fill in '.git/FETCH_HEAD'.

      A red error message is shown:
      '.git/FETCH_HEAD' doesn't match anything: even '.git' doesn't exist

      The help message give a link to "the workspace", that file browser does show a .git directory containing a FETCH_HEAD file.

      Reason:

      I have a "child" job fetching several git repositories. I would like it to just fingerprints any FETCH_HEAD files (**/.git/FETCH_HEAD) to have a quick and fast way to track jobs dependencies.

      Misc informations:

      I am pretty sure it used to work in version 1.431 and was broken with 1.458. Still broken with 1.473.

        Attachments

          Issue Links

            Activity

            hashar Antoine Musso created issue -
            hashar Antoine Musso made changes -
            Field Original Value New Value
            Assignee Marc Sanfacon [ marcsanfacon ]
            hashar Antoine Musso made changes -
            Component/s fingerprint [ 16622 ]
            Component/s core [ 15593 ]
            hashar Antoine Musso made changes -
            Labels plugins core
            hashar Antoine Musso made changes -
            Labels core
            hashar Antoine Musso made changes -
            Labels core
            hashar Antoine Musso made changes -
            Component/s core [ 15593 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-13165 [ JENKINS-13165 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-20086 [ JENKINS-20086 ]
            danielbeck Daniel Beck made changes -
            Issue Type Bug [ 1 ] New Feature [ 2 ]
            Summary create-fingerprint-plugin cant find .dotfiles (e.g.: .git/FETCH_HEAD) Allow disabling use of default exclude patterns (.git, .svn, etc.) for fingerprinting
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 144987 ] JNJira + In-Review [ 176240 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels core core fingerprints

              People

              Assignee:
              marcsanfacon Marc Sanfacon
              Reporter:
              hashar Antoine Musso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: