<< Back to previous view

[QB-2093] view variable references
Created: 17/Jun/14  Updated: 18/Jun/14

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.26
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Tim Earle Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Add the ability to view the configurations, steps, and other variables which reference a specific variable. This can be exceptionally useful when understanding the impact of changing a variable's name, value, or format.

Currently the only way to do this effectively is interrogate the database backup and look for vars.getValue('VAR_NAME').

A few ways would be to inspect the audit log for this syntax for a string, or to scan the "variables" section of builds and provide a "last used" or "used in" link, which results in the list of jobs which have made use of the variable.

 Comments   
Comment by Robin Shen [ 18/Jun/14 12:31 AM ]
Unfortunately this is almost impossible as many references exist in groovy and it is not a easy task to search for references in an interpretated language, not to mention that it will be very time consuming to search for every possible script in all configurations due to nature of QB (script can happen in every possible place including custom plugin settings).

Generated at Wed May 15 19:19:17 UTC 2024 using JIRA 189.