Trying to set up a project that will be broken into two stages:
1. Build
2. Run Regression tests
The second stage needs to be aware of build variables that are set during the first stage. However, this seems to not work as I would expect.
Stage 1:
Set the variables with temporary values in the Finalbuilder action variables tab (these are not defined as configuration variables, as based on my reading of the wiki, these should be build variables.)
RegressionName=Temp
The Finalbuilder project sets this variable to the proper value
Stage 2:
Set variables in the Finalbuilder action variables tab:
RegressionName=%RegressionName%
This results in this error:
The expression [RegressionName=%RegressionName%] contains errors: Unknown Variable : RegressionName
I’m guessing that either Finalbuilder does not return values that change or I’m missing a step somewhere.
Thanks,
- jp
Hi JP,
It looks like you haven’t defined the variable in Continua. Continua variables are separate from FinalBuilder variables so you must define them in both.
You can then use the variables tab of the FinalBuilder action to set a FinalBuilder variable with the value of the Continua variable. Note that you must also use the “Continua CI - Set Variable” action in FinalBuilder to set the Continua variable with the changed value of the FinalBuilder variable.
Note also that build variables are copies of all configuration, project and application variables taken at the start of each build.