Solution
Property reference errors occur because property expansion is enabled by default.
Specifically, getProperties (like getProperty) fetches the property(s) in question and attempts to expand any $[ec:
] strings embedded in the value(s), recursively.
Use the "--expand 0
" switch with ectool (or its equivalent with ec-perl) to avoid this expansion and return the embedded $[ec:
] strings as-is.
Examples
Example of error received:
$: ectool getProperties --projectName "ProjectName" ectool error [NoSuchProperty]: Invalid property path: Evaluating property 'jobStepId' in project 'ProjectName' No such property: 'jobStepId' Evaluation failed Found no match in any context Details: Evaluating property 'jobStepId' in project 'ProjectName' No such property: 'jobStepId' Evaluation failed Found no match in any context
Example of --expand
usage
ectool getProperties --projectName "ProjectName" --expand 0