<< Back to previous view

[QB-2402] Prompt variables in promotions are not available in the 'artifacts' destination directory field on a promotion configuration
Created: 09/Apr/15  Updated: 10/Apr/15

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.7
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Beirti Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: PNG File screenshot.png    

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

 Comments   
Comment by 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")}?
Comment by 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.
Comment by 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
Generated at Thu May 16 18:44:37 UTC 2024 using JIRA 189.