It's all about the answers!

Ask a question

How to delete/remove links created via ANT task logLinkPublisher


Sanjeev Kulkarni (331823) | asked Mar 20 '14, 12:16 p.m.
edited Mar 20 '14, 12:32 p.m.
Many files were created and linked to RTC build result using ANT task
<logLinkPublisher repositoryAddress="${repositoryAddress}"
		                       userId="${userId}"
		                       password="${password}"
		                       buildResultUUID="${buildResultUUID}"
		                       url="http://example/build_tool.log"
		                       localFilePath="build_tool.log"
		                       label="Build Tool Output Log"/>

We now want to delete/remove the links inside log tab under build result. Is it possible if so how to do this using ANT?

In eclipse client we see remove option to do this manually but the requirement is to do it programmatically using ANT.

Accepted answer


permanent link
Nick Edgar (6.5k711) | answered Mar 21 '14, 3:37 p.m.
JAZZ DEVELOPER
Hi Sanjeev, there is no Ant task for deleting contributions that have been made to a build.  The Java client API would allow this. It probably wouldn't be too difficult to script in JRuby or Groovy. For more on the API options, see this entry in the Build FAQ.
Sanjeev Kulkarni selected this answer as the correct answer

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.