Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49304

Not able to execute sudo command on ssh slave machine

    Details

    • Sprint:
      Blue Ocean 1.4 - beta 5
    • Similar Issues:

      Description

      I need to sudo to other user from my I'd,so when the I use the sudo command it throws below error and the same is working as expected in unix machine

      bash: line 7: sudo: command not found

      So I gave the full sudo name,then it goes on running and is not at all stopping.

      Url below

      Please help me by providing a fix. I really appreciate your assistance.

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          If sudo isn't in the path, then it won't work. You would need to specify the full path to sudo

          Show
          slide_o_mix Alex Earl added a comment - If sudo isn't in the path, then it won't work. You would need to specify the full path to sudo

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              sandeep1990 Penugonda Sandeep
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: