Integrate Robot framework with Jenkins and Run Build it Show error

When run build It show error
Running as SYSTEM
Building in workspace /Users/eshant/.jenkins/workspace/RobotTest
[RobotTest] $ /bin/sh -xe /var/folders/9p/3zvjn_qj7vd2ggrdjq83ssyw0000gn/T/jenkins15813612514224916714.sh

  • cd /Users/eshant/PycharmProjects/Avaso
  • robot -d Result Test_Script/broken_image.robot
    /var/folders/9p/3zvjn_qj7vd2ggrdjq83ssyw0000gn/T/jenkins15813612514224916714.sh: line 3: robot: command not found
    Build step ‘Execute shell’ marked build as failure
    Finished: FAILURE

Build Steps

Execute shell?

Command

See the list of available environment variables

cd /Users/eshant/PycharmProjects/Avaso

robot -d Result Test_Script/broken_image.robot

Where and how you have installed robot ? That error means; “i dont know where robot is installed”, eg, robot command is not in PATH.

2 Likes

@rasjani Thank you For the Help i have given the wrong path in Execute Shell Command in Jenkins.