Hi, I have installed python 3.6 at /usr/local/ on CentOS7. Python script is build script and able to run succesfully on teminal but not Jenkins.
How/where to specify in jenkins to execute python3.6 script.
In configure Job Under Build Execute shell it's specified as
python3.6 /root/jenkins/buildscripts/name.py
Output:
No emails were triggered.
$ /bin/sh -xe /tmp/jenkins739502728111804628.sh
+ python3.6 /root/jenkins/buildscripts/name.py
/tmp/jenkins739502728111804628.sh: line 2: python3.6: command not found
Build step 'Execute shell' marked build as failure
Pls let me know.