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

How to delete/remove links created via ANT task logLinkPublisher

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.

0 votes


Accepted answer

Permanent link
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

1 vote

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
× 1,202
× 562
× 35

Question asked: Mar 20 '14, 12:16 p.m.

Question was seen: 4,073 times

Last updated: Mar 21 '14, 3:37 p.m.

Confirmation Cancel Confirm