Jenkins ver. 1.623 (CentOS 6.5 x86_64)
OpenJDK Runtime Environment, 1.7.0_45-mockbuild_2013_11_22_18_30-b00
Git Client plugin 1.18.0
Git plugin 2.4.0
Solaris 10 (i386, x86_64, SPARC64)
Oracle Java 7 and Oracle Java 8
The change introduced to fix
JENKINS-20879 breaks Solaris 10.
The "export" statement seems to be invalid with /bin/sh (bourne shell?)
(Note that I've redacted a few bits of information in that error message.)
The change that causes the issue:
I've worked around this issue for the moment by setting DISPLAY=:99 on the affected slaves.