Hello,
trying to automat server lifecycle by using Jenkins, but can't figure out how to deal with LD_LIBRARY_PATH.
Basically server starts by this script:
trying to automat server lifecycle by using Jenkins, but can't figure out how to deal with LD_LIBRARY_PATH.
Basically server starts by this script:
#!/bin/bash
echo "Starting rust server"
screen -dmSL rust /home/steam/server/server.shand server.sh content is like :
#!/bin/bash
CURRENT_DATE=`date +"%Y-%m-%d"`
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/steam/server/RustDedicated_Data/Plugins/x86_64
/home/steam/server/RustDedicated -batchmode \
..........When trying to start server from cmd it's good, but when starting from jenkins it fails as cannot find share libraries, from jenkins it's executed like:
#!/bin/bash
sudo -u steam /home/steam/server/start.shtried to copy .so files to /usr/local/lib but it's same, any suggestions?