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

Not able to execute sudo command on "Send files or execute commands over SSH"

XMLWordPrintable

      Started by user Kumar
      Building on master in workspace /xxx/xxxxxx/xxx/xxxxxxxx
      Copied 1 artifact from "xxxxxxxx" build number xxx
      SSH: Connecting from host [xxxxxxxxxxxx]
      SSH: Connecting with configuration [xxxxxxxxx] ...
      SSH: EXEC: STDOUT/STDERR from command [sudo service tomcat7 stop] ...
      sudo: no tty present and no askpass program specified
      SSH: EXEC: completed after 200 ms
      SSH: Disconnecting configuration [xxxxxxxxx] ...
      ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]
      Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
      Sending e-mails to: xxxxxxxxxxxxxxxxxx
      Started calculate disk usage of build
      Finished Calculation of disk usage of build in 0 seconds
      Started calculate disk usage of workspace
      Finished Calculation of disk usage of workspace in 0 seconds
      Finished: UNSTABLE

            oleg_nenashev Oleg Nenashev
            manojktumati Kumar J
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: