HI Balázs,

Parameters file are not supported yet in a post-build action but it should 
be doable, can you fill a JIRA ticket here [1] ?
Can you fill a second one for the bug with parameters file when 
Parameterized Build Trigger is used as a build step ?

Thank you,
syl20bnr

[1] 
https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29+AND+component+%3D+%27jobgenerator%27

Le lundi 13 janvier 2014 11:31:17 UTC-5, adamisb a écrit :
>
> Hi everyone, 
>
> I would like to use job generator plugin to dinamically build jobs 
> depending 
> on parameter files and do not really manage to pass generator parameters 
> between jobs. 
>
> When I use "Post-build Actions" > "Trigger parameterized build on other 
> project" and "Predifined Generator parameters" the jobs are generated 
> correctly, but there I can not use parameter factories. Or is there a way 
> to 
> use parameter factories in post-build actions? 
>
> When I use a normal "build" step > "Trigger/call builds on other projects" 
> and "Predefined Generator parametes" then the parameters are not resolved 
> correctly. 
> For example if I use "LANGUAGE" as generator parameter and set it to EN 
> the 
> generated job will be "${LANGUAGE}_C" using "${LANGUAGE}_C" as "Generated 
> Job Name". In the previous case it would be named "EN_C" as expected. 
>
> I also tried using parameter factories in a normal build step. Using the 
> "Counter Generator Parameter Factory" works fine. I could generate a lot 
> of 
> jobs with an increasing number in their names. 
> But I would like to use "File Generator Parameter Factory" which did not 
> work for me. Result was one "${LANGUAGE}_C" style job. 
>
> Does someone has some experience with this plugin? 
> Is it possible to use a normal build step to call a job with generator 
> parameters? What is the correct way to use generator parameter factories? 
>
> The example on the jenkins wiki 
> ( https://wiki.jenkins-ci.org/display/JENKINS/Job+Generator+Plugin ) 
> states a "publisher Trigger a parameterized build" should be used. What 
> does 
> that mean? 
>
> Is this a bug or am I doing / understanding something wrong? 
>
> Best regards, 
> Balázs 
>
>
>
> -- 
> View this message in context: 
> http://jenkins-ci.361315.n4.nabble.com/Using-job-generator-with-parameter-factories-tp4687362.html
>  
> Sent from the Jenkins users mailing list archive at Nabble.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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to