osx - How to execute robot command in jenkins job on mac? -


i have installed jenkins on mac, set up. in job configuration, execute shell , other command works date, pwd etc.

my scripts in location /users/abcd/project/ under project, there multiple folders, never mind. scripts executed project folder

execute shell

cd /users/abcd/project/  robot --outputdir /users/some_folder --variablefile variables_folder/variable.py  testsuites_folder/testsuites/test.robot 

job fails robot command not found. same command works fine terminal. missing path settings ? missing jenkins config ?

it sounds indeed missing path setting. systems in path variable find executables. if location of robot isn't in path, there's no way system find it.

either add location of robot program in path, or hard-code full path robot in jenkins command.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -