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

logRetriever doesn't support the "fileName" attribute

Hi,

I am using BuildToolkit 5.0.2 to run RTC Ant tasks, but I got below error when try to call logRetriever Task:

logRetriever doesn't support the "fileName" attribute

My code for retrive the log is:
        <logPublisher repositoryAddress="${repositoryAddress}"
                      userId="${userId}"
                      passwordFile="${passwordFile}"
                      buildResultUUID="${buildResultUUID}"
                      filePath="console.log"
                      label="Jenkins automation test log"
                      verbose="true" />

Can anyone please advise is it an usage error or anything I should do to retrieve the log from RTC server ?

Thanks.
David Hou

0 votes

Comments

Your question is about logRetriever and fileName but the snippet is logPublisher and filePath. Is this the wrong snippet?

Your question is about logRetriever and fileName but the snippet is logPublisher and filePath. Is this the wrong snippet?

@Martha, Sorry for paste the wrong snippet. Should be like below:

   <logRetriever repositoryAddress="${repositoryAddress}"
                      userId="${userId}"
                      passwordFile="${passwordFile}"
                      buildResultUUID="${childBuildResultUUID}"
                      fileName="console.log"
                      destFileName="console.log"
                      verbose="true" />

David


Be the first one to answer this question!

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
× 12,023

Question asked: May 13 '15, 1:20 p.m.

Question was seen: 2,763 times

Last updated: May 14 '15, 11:34 a.m.

Confirmation Cancel Confirm