ablage-zz / visual-diff-plugin

A Jenkins plug-in to manage differences in screenshots
MIT License
1 stars 1 forks source link

Can't diff files #2

Open gezapeti opened 9 years ago

gezapeti commented 9 years ago

I've created a test job on my Jenkins and installed perceptualdiff as needed. After selecting auto accept new screens, they are accepted and the grapf view and the preview works. But running the job again I got this error message:

[PR2] $ perceptualdiff -verbose -fov 45.0 -threshold 100 -gamma 2.2 -luminance 100.0 -colorfactor 1.0 -downsample 0 -output /var/lib/jenkins/jobs/PR2/builds/2014-12-08_15-39-18/vDiff/diffs/prefix48_allbondtypes.mrv.png /var/lib/jenkins/jobs/PR2/vDiff/screens/prefix48_allbondtypes.mrv.png /var/lib/jenkins/jobs/PR2/builds/2014-12-08_15-39-18/vDiff/screens/prefix48_allbondtypes.mrv.png Unknown filetype /var/lib/jenkins/jobs/PR2/vDiff/screens/prefix48_allbondtypes.mrv.png FAIL: Cannot open /var/lib/jenkins/jobs/PR2/vDiff/screens/prefix48_allbondtypes.mrv.png

Our Jenkins have a master node where the job copies the generated files into the given folders, but it runs the perceptualdiff on the local node which can't access those files. Running the job on the master node solves this, but I think there should be a general solution to this.