It's all about the answers!

Ask a question

How to pass Properties as arguments to command line build


Karthik Krishnan (8825118163) | asked Feb 06 '12, 11:16 a.m.
hello all,

I have a command line Jazz Engine build in which I am calling a batch file. I need the parameters for batch file from the build properties.

I have 3 properties and how can I pass them as Parameter to the batch file?

thanks

2 answers



permanent link
Makson Lee (41024241) | answered Feb 06 '12, 8:27 p.m.
hello all,

I have a command line Jazz Engine build in which I am calling a batch file. I need the parameters for batch file from the build properties.

I have 3 properties and how can I pass them as Parameter to the batch file?

thanks


Let's say you have one property named p1, you can reference it as ${p1} from arguments field in your build definition.

Regards,
Makson

permanent link
Karthik Krishnan (8825118163) | answered Feb 07 '12, 3:51 a.m.

Let's say you have one property named p1, you can reference it as ${p1} from arguments field in your build definition.

Regards,
Makson


Thanks. This worked!

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.