sudo: no tty present and no askpass program specified

XMLWordPrintable

    • Type: Task
    • Resolution: Not A Defect
    • Priority: Blocker
    • Component/s: any-buildstep-plugin
    • None
    • Environment:
      Jenkins version=latest war file

      Hi All,
      I am building a project on linux slave. I have a user "abc" on slave with limited sudo access. On of the sudo access is "(root) /bin/chown" .If i run a build on build machine without using jenkins then , "sudo -u root chown <username>" works fine. And if i run build through jenkins then it says
      sudo: no tty present and no askpass program specified
      What i can do now. I dont have access to /etc/sudoers file .
      Working of chown is very imp for me.

      Please any help would be greatly appreciated

            Assignee:
            Unassigned
            Reporter:
            Niraj Nandane
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: