Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do I programmatically update the Post-Build Command Tab of the Build Definition

 I need to programmatically update Working Directory field on the Post-Build Command tab for a Build Definition.


I can't find the Build Definition property that needs to be changed

0 votes


Accepted answer

Permanent link
I'm not sure whether what you are looking for is officially considered public API, but refer to this blog post for a technique to find the API on your own: http://ryehle.wordpress.com/2011/11/21/finding-the-right-service-api-for-your-process-extension/

The Plug-In Spy points me to HighPerformanceAgentPostCommandLineConfigurationEditor, and in that class I see BuildAgentConfigurationElement.POST_BUILD_PROPERTY_WORKING_DIR, which has a value of com.ibm.rational.buildforge.buildagent.postcmdline.workingDir.

Andrew Soloninka selected this answer as the correct answer

0 votes


One other answer

Permanent link
I could be wrong but I don't think that is exposed to the SCM system. I wanted to update the duild def for something as well and gave up.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jan 29 '13, 10:34 a.m.

Question was seen: 5,524 times

Last updated: Jan 29 '13, 11:54 p.m.

Confirmation Cancel Confirm