Re: copy artificate slave server to master server in jenkins pipeline

2022-08-17 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 16.08.2022 um 04:34 -0700 schrieb Prasant singh:

> can you please help how to cop artifacts on master server without
> using cp orscp command on master Jenkins server?

Depends on your use case. You can either use stash/unstash or archive
artifacts/copy artifacts. The former is for preserving files for usage
in later stages of a pipeline, the latter for providing artifacts to
other jobs (regardless on which node those jobs will run, since the
artifacts are always stored on the controller).

HTH...

 Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu
Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn,
Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-
Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.

-- 
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/dce8b00737c5a61197c27e5dfa4ac57fc47dc2a4.camel%40opentext.com.


pipeline select agent depending on avaliability

2022-08-17 Thread Rita Morgan
Using a Jenkinsfile, I have 2 agents (master, nodeA). 

I prefer my job to run on nodeA. If its not available (its a ec2 instance), 
i want it to run on master. 

Is there a way to declare this in a pipeline? I know there is a feature to 
prefer an agent or explicity set it as a label but I really want the logic 
to be in a pipeline. 

-- 
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/ec7bccba-4698-4ce3-9c07-4cb19100d156n%40googlegroups.com.


Re: copy artificate slave server to master server in jenkins pipeline

2022-08-17 Thread Alex Earl
Please use the updated terminology

master -> controller
slave -> agent

On Wed, Aug 17, 2022 at 8:32 AM Prasant singh 
wrote:

> Hi All,
> can you please help how to cop artifacts on master server without using cp
> orscp command on master Jenkins server?
>
> --
> 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/65f60716-2a2f-4811-8192-a9c00ab9dcd6n%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
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/CAPiUgVeOFajXgrxpNqTgisyp8WL_Z4dCmcUKdbzRPiUgiNc4wQ%40mail.gmail.com.


copy artificate slave server to master server in jenkins pipeline

2022-08-17 Thread Prasant singh
Hi All,
can you please help how to cop artifacts on master server without using cp 
orscp command on master Jenkins server?

-- 
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/65f60716-2a2f-4811-8192-a9c00ab9dcd6n%40googlegroups.com.


Jenkins plugins update behind a firewall

2022-08-17 Thread Arvind Singh
Hi,



We have setup  Jenkins behind a firewall and want to update the firewall
rules so that we can do periodic updates of Jenkins and plugins. I notice
that the sites which we will be using for these are “pkg.jenkins.io” and “
updates.jenkins.io”. However, we see that these hosts are configured with
dynamic IPs and hence a single firewall rule is not able to serve our
purpose. Is there a way to find the dynamic IP range for these hosts? Or a
way around these, where our Jenkins setup can contact the update sites of
Jenkins?

-- 
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/CAGMqazQZD8xuNCuTm2Ar_uC9f0ZdqxioyqUXn%3DQjmdjwb-ZC3g%40mail.gmail.com.