Hi,

I'm still facing issues with the inputstream is closed error.

ERROR: Exception when publishing, exception message [java.io.IOException: 
inputstream is closed]
Build step 'Send files or execute commands over SSH' changed build result to 
UNSTABLE
Finished: UNSTABLE


when i upload the files manually via WinSCP to the remote server it gets copied.

The server closes connection in between but still Winscp automatically 
re-connects to the server 
and continues the copying.

In Jenkins is there a way to handle this. I use the Send over SSH plugin 
for this purpose.
I'm open to other suggestions as well. 


Thanks

On Friday, 4 May 2018 23:33:50 UTC+1, Saatviga Sudhahar wrote:
>
> Hi,
>
> Thank you Bjorn. After fixing the permissions to 755 i don't get the 
> change directory error anymore.
>
> But i get,
>
> ERROR: Exception when publishing, exception message [java.io.IOException: 
> inputstream is closed]
> Build step 'Send files or execute commands over SSH' changed build result to 
> UNSTABLE
> Finished: UNSTABLE
>
>
> I'm not sure why the inputstream is closed. i don't have any other open 
> connections to the server.
>
> Any thoughts on this?
>
>
>
>
> Thanks
>
>
>
> On Friday, 4 May 2018 13:07:49 UTC+1, Björn Pedersen wrote:
>>
>> Hi, 
>> Did you carefully check ownership and access rights on this folder (on 
>> the web server side)? Maybe it is not accessible by the user you use?
>>
>> Björn
>>
>> Am Freitag, 4. Mai 2018 13:41:47 UTC+2 schrieb Saatviga Sudhahar:
>>>
>>> I have specified the remote directory in the global settings already 
>>> where I configure the connection to the SSH server.
>>> Anyway thanks, I will look in to that. 
>>>
>>>
>>>
>>>
>>> On Friday, 4 May 2018 11:04:01 UTC+1, Victor Martinez wrote:
>>>>
>>>> I'm not sure whether it will be related to  but it seems the remote 
>>>> directory is required in the global settings:
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-hLMZMRu9pVc/WuwuknexTsI/AAAAAAAAMTc/e5mWU2LHU2sX15Nb_LlJ-eBj9x0v-LDRQCLcBGAs/s1600/Screen%2BShot%2B2018-05-04%2Bat%2B10.56.24.png>
>>>> Besides of that, I have not used that plugin for a while but you could 
>>>> add some loggers (see 
>>>> https://support.cloudbees.com/hc/en-us/articles/115002626172-Configure-Loggers-for-Jenkins
>>>>  
>>>> ) and see the logs of the class class 
>>>> https://github.com/jenkinsci/publish-over-ftp-plugin/blob/4df38656ca19a60f94bc8c531fddf416fc06322b/src/main/java/jenkins/plugins/publish_over_ftp/BapFtpClient.java#L73
>>>>  
>>>>
>>>> Cheers
>>>>
>>>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a505dd2d-0bc4-4cff-b828-8c117ebed45d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to