jenkinsci/jenkins — pull request #889 by oleg-nenashev (2013-07-31 10:24:44+00:00)
Title: [FIXED JENKINS-19017] FileParameter - Handle non-null file parameters as different values

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

PR resolves https://issues.jenkins-ci.org/browse/JENKINS-19017

Signed-off-by: Oleg Nenashev