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

Not able to execute sudo command on ssh slave machine

    • Blue Ocean 1.4 - beta 5

      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.

          [JENKINS-49304] Not able to execute sudo command on ssh slave machine

          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

          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

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/114
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-49304%22

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/114 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-49304%22 (Note: this is an automated bulk comment)

            slide_o_mix Alex Earl
            sandeep1990 Penugonda Sandeep
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: