- Create build with file parameter
- Add execution delay or invalid label restrictions
- Try to put more than one build into queue
Queue build comparator successfully enters FileParameterValue::equals().
According to function docs, "In practice this will always be false, since location should be unique". However, in practice of queued builds location is relative path to file in workspace (which is specified in parameter configs), so that function returns true => Jenkins merges builds even if theirs file parameters are different.
It is not possible to use anything instead of bit-wise file comparison, because different files can be uploaded from same place during manual build submission. It can require much time in long queues...
I propose to consider files as different if they are specified in the build parameters.