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

Key: QB-2402
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Beirti
Votes: 0
Watchers: 0
Operations

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

Prompt variables in promotions are not available in the 'artifacts' destination directory field on a promotion configuration

Created: 09/Apr/15 05:13 PM   Updated: 10/Apr/15 10:23 AM
Component/s: None
Affects Version/s: 6.0.7
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. screenshot.png
(19 kb)


 Description  « Hide
I need to prompt the user to select a destination folder for the promoted artifacts.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [09/Apr/15 11:33 PM]
How about define a configuration level variable say "destPath" prompting for the destination path, and then script the artifacts dest path of your promotion to be ${vars.getValue("destPath")}?

Beirti [10/Apr/15 10:15 AM]
I tried defining a variable in the 'promotion' configuration, but it is not prompted for. Are you saying I would need to define the variable in the source build's configuration? That wouldn't be possible as we don't know at build time where it needs to be promoted to.

Beirti [10/Apr/15 10:22 AM]
FYI, I use the 'destPath' variable to make up the buildVersion of the promotion configuration and this works successfully, it is just the 'destination' field that does not seem to pick it up