I have an .sh file which spawns a simple http server with python3. What I need is to successfully run this file with Jenkins. The job goes "green" but the directory I try to serve with python http server is not available and the browser says "Request failed". ps -a
also does not show any python process.
When I run the python command directly on the console the server gets started and ps -a
shows the pid of python process. What am I missing?
&> /dev/null &
Can this be the cause?ls -l <shell script> <python script>
And if you do not see r-x in the last triad you should make it.