Thanks. We are using Jenkins. Should be "Jenkins agent"  :-)

The use case is we have an in-house Java application (a test management 
platform) that calls Jenkins REST API to trigger builds that runs jmeter 
tests. The jmeter tests will generate artifacts (e.g. response file) in the 
workspace folder. Users wants a way to get those artifacts when build is 
running (not after build completes) to know the test progress.

Currently users have to SSH to the node to get those artifacts. This is not 
acceptable for security reasons. We want our Java application (the test 
management platform) to get those artifacts and show them to users.


On Tuesday, October 9, 2018 at 8:52:40 PM UTC+8, Baptiste Mathus wrote:
>
> 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 <
> jenkins...@googlegroups.com <javascript:>> 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-use...@googlegroups.com <javascript:>.
>> 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/bec98b72-6941-4cd5-9003-cb650cab90a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to