x
login Signup

how to create custom hierarchical properties?

I would like to create some custom properties on "/myJob", but I need them to be hierarchical. E.g. intuitively they would look like:

  "/myJob/pullreqs/<pull_req_num>/branch_name/<branchName>"

etc. It's a propertySheet, I think, but I can't find any docs on how to create these custom hierarchical props...

Can someone give me some guidance on how to do this using either the Perl API, or ectool?

avatar image By h.berggren 65 asked Oct 08 at 06:24 PM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first

My first attempts were botched, but when I tried just the straight assignment it worked:

 ectool setProperty "/myJob/gitId/$gitId/branchName" "$branchName"

The "gitId" property with "$gitId" value and it's property "branchName" were created spontaneously.

avatar image By h.berggren 65 answered Aug 24 at 08:33 PM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.