I'm afraid that Jenkins puppet module doesn't support that functionality AFAIK. You can use Chef instead:
- https://github.com/opscode-cookbooks/jenkins/blob/master/README.md#jenkins_slave # Create a slave with a full environment jenkins_jnlp_slave 'integration' do description 'Runs the high-level integration suite' remote_fs '/home/jenkins' labels ['integration', 'rails', 'ruby'] environment( RAILS_ENV: 'test', GCC: '1_000_000_000', ) end On Thursday, 3 September 2015 10:29:44 UTC+2, Patrick Jonathan CadeliƱa wrote: > > I would like to set environment variables in node properties (Jenkins > > Nodes > Configure) and I'm doing this via puppet > <https://github.com/jenkinsci/puppet-jenkins>. This puppet module's > `jenkins::slave.pp` configures the swarm plugin > <https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin>. However, > there doesn't seem to be an option to do this when I look at the docs > (Available Options). In particular, I'm expecting an option similiar to > something like: > > --environmentVariables 'key1:value1, key2:value2, ...' >> > > Is there a way to do this? > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e776205-104a-4120-985d-f5f2304c65ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
