Hello.

First, let me confirm is  "parameterized build plugin" the same to
"parameterized trigger plugin" or not?
(https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin)

Please forgive me if I have misunderstanding.

Then, I can pass Global environment variables to  other project which
triggered by Parameterized Trigger Plugin.

For example:
1. Set Global parameters:  GLOBAL_VAR=hoo
2. Create some upstream job. (Job-A)
3. Create downstream job. (Job-B)
    - This has a shell task like "echo ${PARAM_FOR_JOB-B}".

3. At the Job-A configuration, add post build task with using "Trigger
parametarized build other project"
4. Set Job-B as "Projects to build".
5. Use "Predefined parameters" as parametere to pass, and set like this:

        PARAM_FOR_JOB-B=${GLOBAL_BAR}

How about?


2012/9/20 Noah Hoffman <hoff...@adobe.com>:
> Hi All,
>
>
>     I'm setting some environment variables in the Jenkins Master (Manage
> Jenkins > Configure System > Global Properties) but, using the
> parameterized
> build plugin, I'm setting up some new string variables and wanting to use
> these global vars as the default values but it doesn't seem to work.  Can
> anyone confirm that this is indeed a bug or there's a better/different way
> to achieve this goal?
>
> Thanks,
> Noah

Reply via email to