A folder property can contribute env vars. My employer has this functionality I think in our folders-plus plugin... it’s not too hard to write, but sales blocked us open-sourcing it at the time (they’d probably be fine now, but I don’t have the energy to chase it)
Somebody may have already implemented it... if not, you could give it a shot and file a PR against the folder plugin to help us force the decision ;-) On Sat 21 Oct 2017 at 15:24, Sébastien Hinderer <[email protected]> wrote: > Dear all, > > I would like to be able to define an environment variable for Jenkins > but not at the job level, rather at the project level, so that it can be > shared between several different jobs. > Moreover I would like to be able to do this from the web interface, > because I do not have ssh access to the Jenkins server. > > Is there a way to achieve this? I looked at the env injector plugin but > I believe it won't work for my use case. > > Many thanks in advance for any hint, > > Sébastien. > > -- > 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/20171021132148.cabsf3ez3xksaffq%40pl-59055.rocqadm.inria.fr > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- 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/CA%2BnPnMyO5gDFQh8V9y0x2s%2Bvnjvy2qwzDMvFu7udXaD%3D%2B2-9LA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
