The use case you're describing clearly points to artifacts archival IMO
(archiveArtifacts in Pipeline), but doesn't seem compatible with your 'real
time' request.
Care to clarify what you're trying to achieve, and why so that we better
understand how to help?

*Side note: there are no more Jenkins slave since Jenkins 2 (i.e. since
April 2016), this term has been replaced by Jenkins agent. *
*So, if you're using Jenkins >= 2, please try and use the latter :-).*

Thanks!

Le lun. 8 oct. 2018 à 10:19, 'Xiaocheng Wang' via Jenkins Users <
jenkinsci-users@googlegroups.com> a écrit :

> Currently we have to SSH to each slave node and get the workspace folder
> content, but this is not acceptable due to internal security reasons.
>
> Is there a way to get it from Jenkins directly? Or from Java code?
>
>
> On Friday, September 28, 2018 at 5:41:46 PM UTC+8, Xiaocheng Wang wrote:
>>
>> Hello Jenkins experts,
>>
>> We have deployed 1 Jenkins master node + 3 slave node. Jobs are building
>> on different slaves. We need to get the workspace folder content of each
>> running build in realtime, so that to acquire additional build progress
>> details.
>>
>> We tried to get this info by URL "
>> *http://<jenkins_host>:<jenkins_port>/job/<job_name>/ws*", however it
>> only displays workspace content of slave node which runs the latest build.
>> If 2 jobs are running in parallel on different slave, we are unable to get
>> the first one's workspace content by that URL.
>>
>> Could you please kindly give some proposal?
>>
> --
> 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/a1e3e6d0-8e34-4dbf-97a0-cec07a7423de%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a1e3e6d0-8e34-4dbf-97a0-cec07a7423de%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/CANWgJS409_PFu3LXdv1gtqmO4DR5H46anMnqhVD3JdEjmOT9EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to