w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Unable to execute shell script on slave with Jenkins

I worked around this issue by giving the "other" group the same permissions as for the owner and group for the folders that contain the test, on the Linux machine. With this, I didn't have to sudo -u jenkins to run the tests from the master. Also I had to include the export CLASSPATH stuff in this test script as it couldn't source the .bashrc file.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.