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

FileParameterValue should compare contents and not just location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • n/a

      The hashCode() implementation of FileParameterValue.java only considers the location. Often times the file parameter is passed with the same file name and thus the same location, but the contents are different. The hashCode() should consider the contents so that the queue will queue the WaitingItem for each invocation that has different file parameter contents.

      The current workaround is to add a string parameter that provides a unique string like a timestamp and ldap name. This is not ideal having to do an extra parameter to differentiate the parameter action list.

            Unassigned Unassigned
            elblinkin LB Denker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: