How to pass the output of an ant task to a java code
Hi,
I am using the ant task 'sshexec'. I have stored the output in the 'outputProperty' tag. How can I pass the value in 'outputProperty' to a Java code? Please help. Thanks. |
2 answers
Take a look at this article on writing an ant custom task:
|
Thanks Scott.
Is there a way to access the build results through the build definition object or any object in the code. Since on double clicking/right clicking on the build definition, we get the list of build results, I was assuming there might be a function to access the results from the build definition. Kindly guide. Thank you. |
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.