If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 20/Jul/17 06:41 AM
Updated: 22/Jul/17 01:09 AM
|
|
|
Component/s: |
None
|
Affects Version/s: |
7.0.17
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
Environment:
|
java version "1.8.0_131", Ubuntu 16.04.2 LTS
|
|
Following script outputs "All vars: []" to log instead of list of variable names and values
Configuration have several variables and they are accesible through vars.get(<name>).getValue()
groovy:
import com.pmease.quickbuild.variable.VariableWrapper
for (VariableWrapper var : vars.getAll()) {
logger.info(var.getName())
logger.info(var.getValue())
}
logger.info("All vars: " + vars.getAll())
|
Description
|
Following script outputs "All vars: []" to log instead of list of variable names and values
Configuration have several variables and they are accesible through vars.get(<name>).getValue()
groovy:
import com.pmease.quickbuild.variable.VariableWrapper
for (VariableWrapper var : vars.getAll()) {
logger.info(var.getName())
logger.info(var.getValue())
}
logger.info("All vars: " + vars.getAll()) |
Show » |
No work has yet been logged on this issue.
|
|