History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-185
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Brian Surratt
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

properties not forwarded to triggered configration, Propogate variables to dependent builds? option not available

Created: 03/Jan/07 09:01 AM   Updated: 03/Jan/07 05:44 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Tomcat host running on Linux and Windows, using Firefox and IE as browser.


 Description  « Hide
For a "trigger build in another configuration" step, the "Propogate variables to dependent builds?" option is not presented on the page. Looking at the demo environment, the option was available in the 1.1.0 (build 1) release

As a result, variables from the triggering configuration can not be forwarded to the dependent configuration.

In the triggering configuration, I set up the following in the "Override variables" text area:

sourceBuildVersion=${build.version}


and tried to access the variable in an Ant builder in the dependent configuration as
     
buildVersion=${sourceBuildVersion}

the following error occurs in the dependent configuration when it is triggered

java.lang.RuntimeException: ognl.NoSuchPropertyException: com.pmease.quickbuild.model.Configuration.sourceBuildVersion

Should this work

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [03/Jan/07 05:44 PM]
This option has been removed. Instead you will need to explicitely specify variables passed to dependent build as you've already discovered.

Regards.
Robin

Brian Surratt [03/Jan/07 01:04 PM]
Please disregard the comments about properties not being propagated. I used the ${var[variableName]} notation in the dependent configuration it worked. Sorry about that.

Has the option to propagate variables been removed? Are they always sent with the trigger request?