Did you manage to solve your problem? i'm having a similar one and can't 
find a solution.

On Tuesday, November 6, 2012 11:28:03 PM UTC+2, DaveS wrote:
>
> I am trying to use the publish_over_ssh plugin to deploy files and run a 
> .bat file.  The userid used for the SSH has full control on the receiving 
> server.  The files deploy just fine, but the .bat file does not get run.  I 
> have set up the server in the main config Jenkins.  Specified that server 
> in the “Send build artifacts over SSH”.  In the “Exec command”  line is:  
> C:\jenkins\test.bat
>
> The .bat is in that directory and is owned by the userid that is being 
> used to logon the ssh session.  The .bat runs fine when run on the server 
> or from an ssh session on the remote server.
>
> Here is what is returned in the console from the project:
>
> SSH: Connecting from host [xxx.xxx.com]
>
> SSH: Connecting with configuration [DeployServer] ...
>
> SSH: EXEC: STDOUT/STDERR from command [C:\jenkins\test.bat] ...
>
> SSH: EXEC: completed after 401 ms
>
> SSH: Disconnecting configuration [DeployServer] ...
>
> ERROR: Exception when publishing, exception message [Exec exit status not 
> zero. Status [255]]
>
> Anyone have any ideas what I need to update?  Thanks. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to