[JIRA] (JENKINS-43123) Publish over SSH: sudo does not work

2018-04-14 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl closed an issue as Incomplete  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43123  
 
 
  Publish over SSH: sudo does not work   
 

  
 
 
 
 

 
Change By: 
 Alex Earl  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Incomplete  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-43123) Publish over SSH: sudo does not work

2017-03-27 Thread revathi.manik...@valtech.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Revathi Manikoth created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-43123  
 
 
  Publish over SSH: sudo does not work   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 bap  
 
 
Components: 
 publish-over-ssh-plugin  
 
 
Created: 
 2017/Mar/27 8:59 AM  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Revathi Manikoth  
 

  
 
 
 
 

 
 When I try to start a service from jenkins job it gives the following error, however the same works without an issue from Putty. SSH: Connecting from host [ABC] SSH: Connecting with configuration [DEF] ... SSH: Creating session: username [abc_123], hostname [1.1.1.1], port [22] SSH: Connecting session ... SSH: Connected SSH: Opening exec channel ... SSH: EXEC: channel open SSH: EXEC: STDOUT/STDERR from command [echo [***] | sudo -S service hybris stop] ... SSH: EXEC: connected [sudo] password for abc_123: sudo: service: command not found SSH: EXEC: completed after 200 ms SSH: Disconnecting configuration [DEF] ... 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 Finished: UNSTABLE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment