I have strange problem - I wanted to use xvnc jenkins plugin because of karma tests for browsers like Chrome, Firefox etc...
But there is problem with running vncserver while building. Console output:
Starting xvnc
[workspace] $ vncserver :51 -localhost -nolisten tcp
/usr/bin/env: perl: No such file or directory
this is repeated several times and last output is
FATAL: Failed to run 'vncserver :61 -localhost -nolisten tcp' (exit code 127), blacklisting display #61; consider checking the "Clean up before start" option
I can understand the problem is that jenkins cannot find Perl but it is really weird because when I run env perl
it works (even as a jenkins user).
What am I doing wrong?
Thanks