Contributions
[Resolved] Truncating property string
I have a project property that I need to shorten. I am guessing I might do it in a groovy script through some string manipulation. Project Property projSerialNumber 123-123-44456 Lets say I wanted to drop the last two digits every time I called this script so the above example would become 123-123-444 What do I need to add? context.expand( '${#Project#projSerialNumber}' ) note:the digits are random and the last two will not always be 56865Views0likes1CommentRe: Incrementing a property in a property transfer
not sure if this is the best way but I got it to work. I incremented the property in a groovy script step then transfered the result into it into the property groovy script Integer.parseInt(context.expand( '${#Project#projIndex}' ) ) + 1 Then Transfer Property Source groovy script result Target project property projIndex2.4KViews0likes0Comments