Good question! If we were using the intermediate files (on Linux) just for 
that build, we could certainly do what you are suggesting.
In our use patterns the intermediate results can be reused by several 
downstream jobs. As a result we don't want to delete them at the end of the 
first build that uses them.

Thank you for the feedback!

On Friday, March 18, 2016 at 3:41:51 AM UTC-4, Baptiste Mathus wrote:
>
> Must be missing something. Why can't you just:
> * upload files
> * process them
> * download resulting files
> * clean up everything
>
> In the same go?
>
> Cheers
> Le 14 mars 2016 6:09 PM, "Ioannis Moutsatsos" <imout...@gmail.com 
> <javascript:>> a écrit :
>
>> I have a job that uploads user data on a Linux server where it gets 
>> processed (ssh remote execution build step). Results (artifacts) are 
>> subsequently downloaded and archived on the windows Jenkins server.
>>
>> How can I delete the user data on the Linux server when  their associated 
>> Jenkins build is deleted?
>> Jenkins obviously deletes the archived artifacts, but I can't think of a 
>> good way to also trigger the cleanup of the remote data on Linux.
>>
>> Any help would be greatly appreciated. thanks
>> Ioannis
>>
>>
>> -- 
>> 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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/f4dc57e6-6045-4d92-b35c-ecb3ec0a5615%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/f4dc57e6-6045-4d92-b35c-ecb3ec0a5615%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/87f49451-6732-4ddd-837a-16c87dca25a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to