Great thank you! That was exactly the information I was looking for.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Ginga
Sent: Monday, July 03, 2017 1:39 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Jenkins Distributed Builds: Parameterized Jobs and the Ansible 
Plugin for Jenkins

Jason, all parameters are available in the environment of any slave/agent just 
like they were available when built on the master.

as far as ansible and python,  I would say you would need to install them on 
any build machine.

On Mon, Jul 3, 2017 at 11:26 AM, Jason LeMauk 
<jason.lem...@csquaredsystems.com<mailto:jason.lem...@csquaredsystems.com>> 
wrote:
I currently have a parameterized build setup on my Jenkins master. As these 
parameters are accessible as environment variables, I'm using them in an 
ansible script via the ansible plugin.

We also have a distributed build architecture in place.

With a distributed build system, if this project is built on an Agent node as 
oppose to the Master node, will my ansible scripts still have access to the 
environment variables exposed in the parameterized build?
Also, I believe that in order to do this we will need the ansible plugin, 
ansible and python installed on the Jenkins Master's machine (as we will need 
to configure ansible in Jenkins in order to use the ansible plugin).

Would ansible and python also need to be installed on the Jenkins Agent in 
order to carry out the job on the Agent?

Thanks for any help! I'm fairly new to distributed builds and appreciate your 
patience and advice.

- Jason

--
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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BY2PR12MB0599D4A2431F622350938B9D89D60%40BY2PR12MB0599.namprd12.prod.outlook.com<https://groups.google.com/d/msgid/jenkinsci-users/BY2PR12MB0599D4A2431F622350938B9D89D60%40BY2PR12MB0599.namprd12.prod.outlook.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



--
Dick Ginga
Build Engineer
rgi...@disruptorbeam.com<mailto:rgi...@disruptorbeam.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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaUza3g5ZHWrJAS_ZUes%3DQXJGaLvTVdk%3DEq8SzJeUm-fyw%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaUza3g5ZHWrJAS_ZUes%3DQXJGaLvTVdk%3DEq8SzJeUm-fyw%40mail.gmail.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/BY2PR12MB05993058E2C59E626A3EC45689D60%40BY2PR12MB0599.namprd12.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to