It's all about the answers!

Ask a question

What is the Build Property of repository workspace for personal build?


Jia Jia Li (8057152192) | asked Nov 13 '12, 10:28 a.m.
Hi, I want to get the personal build repository workspace, how to get it from build property?
Thanks!

Comments
1
Jia Jia Li commented Nov 13 '12, 11:41 a.m.

I guess is the ${team.scm.workspaceUUID},but in script, it is hard to get the workspace name from uuid....


ENV team.scm.workspaceUUID=_6sQYZh8vEeKv6522Y2GZqQ

One answer



permanent link
Jeff Foege (45266960) | answered Nov 13 '12, 5:18 p.m.
Here is what I did, (minus the xml formatting.)
        if
        equals arg1="${scheduledBuild}" arg2="true"
            then
                echo message="Build type: scheduled"
            /then
           elseif
                equals arg1="${personalBuild}" arg2="true"
                    then
                        echo message="Build type: personal"
                    then
           elseif
            else
                echo message="Build type: requested"
            else
        if

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.