|
|
|
[
Permlink
| « Hide
]
Robin Shen [24/Jul/13 11:57 PM]
So while in rebuild, for variables, you do not want to use value recorded in old build, but instead to use variables in configuration itself? If so, you may remove the variable definition in promotion definition.
We want to use the same configuraion & variable from the Old Build record. But its not taking proper variable record from the old Build.
We have used "${build.getVarValue("Myvar")}" to get the all the variable record from the Old Build. Please update what basis its taking record from the Old Build while promoting. Lets say our case Configuraion1 ---> its build based on diff models defined in Variable.For examble Variable contain A,B,C models. Three models built with this configuration. If i rebuild "C" model , its not taking proper model from the old builds variable. Its taking very random like A , B , C from the Old Builds. we used to get the model variable like this from the OLD Build "${build.getVarValue("MODEL")}" Also for SCM cases , we are trying to change the P4 CL variable record for rebuild if any new CL comes. Your comments seems to be very specific to your environment, which is hard for me to understand without knowledge of your environment. What model here means? Is this another build triggered by Configuration1 via the "trigger build step"? By rebuilding "C" model, do you mean to hit the "rebuild" promotion button (assumes you've defined that promotion) for some triggered child build? Without knowing details of this, it is difficult for me to help.
|