Re: How to get workspace folder content of EACH slave nodes?

2018-10-09 Thread 'Xiaocheng Wang' via Jenkins Users
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 > 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://:/job//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 .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a1e3e6d0-8e34-4dbf-97a0-cec07a7423de%40googlegroups.com
>>  
>> 
>> .
>> 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.


Re: Installing Artifactory and Blue Ocean plugins offline

2018-10-09 Thread Slide
I take that back, it looks like there has been some work done in the past
few days. So, that's good news!

On Tue, Oct 9, 2018 at 2:21 PM Slide  wrote:

> In talking to someone at Jenkins World, Juseppe hasn't added the hash
> checking, which means it doesn't work with the most recent versions of
> Jenkins. There is a patch in an issue [1] that could be turned into a PR.
>
>
> 1 -
> https://github.com/yandex-qatools/juseppe/issues/41#issuecomment-413062463
>
> On Tue, Oct 9, 2018 at 2:16 PM R. Tyler Croy  wrote:
>
>> (replies inline)
>>
>> On Tue, 09 Oct 2018, Robert van Gangelen wrote:
>>
>> > Hi All,
>> >
>> > I have installed Jenkins on a Redhat server succesfully.
>> > Now I want to install Artifactory and Blue Ocean plugins but the server
>> is
>> > not able to access the Internet.
>> > So I downloaded the hpi files and tried to import them. The imports
>> fails
>> > because of the dependency error.
>> > I was wondering if there is a other to do this. Or do I have to import
>> a
>> > the depenencies as well?
>> > I downloaded one of the dependencies and during the import I got a lot
>> of
>> > other dependency errors.
>> >
>> > Is there a way to install the hpi file without all the dependency
>> issues?
>>
>>
>> You may find the Juseppe tool to be useful:
>> https://github.com/yandex-qatools/juseppe
>>
>>
>> Cheers
>>
>> --
>> GitHub:  https://github.com/rtyler
>> Twitter: https://twitter.com/agentdero
>>
>> --
>> 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/20181009211549.GY28842%40grape.brokenco.de
>> .
>> 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/CAPiUgVeDxm96aroEK2KqK%2BvvzoxJj3uvtq2T3nytXqybekTmAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Artifactory and Blue Ocean plugins offline

2018-10-09 Thread Slide
In talking to someone at Jenkins World, Juseppe hasn't added the hash
checking, which means it doesn't work with the most recent versions of
Jenkins. There is a patch in an issue [1] that could be turned into a PR.


1 -
https://github.com/yandex-qatools/juseppe/issues/41#issuecomment-413062463

On Tue, Oct 9, 2018 at 2:16 PM R. Tyler Croy  wrote:

> (replies inline)
>
> On Tue, 09 Oct 2018, Robert van Gangelen wrote:
>
> > Hi All,
> >
> > I have installed Jenkins on a Redhat server succesfully.
> > Now I want to install Artifactory and Blue Ocean plugins but the server
> is
> > not able to access the Internet.
> > So I downloaded the hpi files and tried to import them. The imports
> fails
> > because of the dependency error.
> > I was wondering if there is a other to do this. Or do I have to import a
> > the depenencies as well?
> > I downloaded one of the dependencies and during the import I got a lot
> of
> > other dependency errors.
> >
> > Is there a way to install the hpi file without all the dependency issues?
>
>
> You may find the Juseppe tool to be useful:
> https://github.com/yandex-qatools/juseppe
>
>
> Cheers
>
> --
> GitHub:  https://github.com/rtyler
> Twitter: https://twitter.com/agentdero
>
> --
> 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/20181009211549.GY28842%40grape.brokenco.de
> .
> 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/CAPiUgVc1iWGv2a9tW2sk343G9eh4T_fTATMy0H2GWsgT97W5UA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Artifactory and Blue Ocean plugins offline

2018-10-09 Thread R. Tyler Croy
(replies inline)

On Tue, 09 Oct 2018, Robert van Gangelen wrote:

> Hi All,
> 
> I have installed Jenkins on a Redhat server succesfully.
> Now I want to install Artifactory and Blue Ocean plugins but the server is 
> not able to access the Internet.
> So I downloaded the hpi files and tried to import them. The imports fails 
> because of the dependency error.
> I was wondering if there is a other to do this. Or do I have to import a 
> the depenencies as well? 
> I downloaded one of the dependencies and during the import I got a lot of 
> other dependency errors.
> 
> Is there a way to install the hpi file without all the dependency issues?


You may find the Juseppe tool to be useful:
https://github.com/yandex-qatools/juseppe


Cheers

--
GitHub:  https://github.com/rtyler
Twitter: https://twitter.com/agentdero

-- 
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/20181009211549.GY28842%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Installing Artifactory and Blue Ocean plugins offline

2018-10-09 Thread Robert van Gangelen
Hi All,

I have installed Jenkins on a Redhat server succesfully.
Now I want to install Artifactory and Blue Ocean plugins but the server is 
not able to access the Internet.
So I downloaded the hpi files and tried to import them. The imports fails 
because of the dependency error.
I was wondering if there is a other to do this. Or do I have to import a 
the depenencies as well? 
I downloaded one of the dependencies and during the import I got a lot of 
other dependency errors.

Is there a way to install the hpi file without all the dependency issues?

Thanks!

Robert

-- 
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/3dc94653-32e6-46c3-bbc3-52b7dfadc13d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get workspace folder content of EACH slave nodes?

2018-10-09 Thread Baptiste Mathus
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://:/job//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
> 
> .
> 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.