Thanks Marc, but I'm not sure I understand what you mean by the word "test" in your response? Are you talk about unit tests?
Regardless, perhaps I didn't express my need accurately. We would like to package and distribute canned job configurations (from source control actually), having various aspects of these job configurations controlled by environment values available when Jenkins starts up. One of these would be the frequency certain jobs ran. So ideally I could set an env var ciBuildFreq="H H * * *" before startup and then reference that value in the job config. We would actually like to read this from a property file with the EnvInject plugin... Thanks Drew On Thursday, September 4, 2014 3:09:35 PM UTC-5, Marc MacIntyre wrote: > > The scheduler has no concept of the environment that's present when the > test is running, because it (the scheduler) is not running in the test's > environment. > > To workaround, you could have a scheduler build run every 5 minutes or so > that checked the environment variable and fired off a build if the > conditions were correct. > > > On Thu, Sep 4, 2014 at 12:44 PM, Drew Cox <dr...@cidercafe.com > <javascript:>> wrote: > >> We would like to schedule builds but have the actual schedule value >> externalized in some way, such as read from an environment variable, or >> properties file (with the appropriate plugin). However the schedule value >> is validated and will not accept "$" env var references. Can anyone >> suggest another method to achieve this? >> >> Thanks >> Drew >> >> -- >> 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 <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Marc MacIntyre > -- 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. For more options, visit https://groups.google.com/d/optout.