Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

How do I get the console log "Hudson.log" posted to the build result when starting a RTC Build from Jenkins.

When using the RTC Team Concert plugin with Jenkins, I can request a build from RTC and the console log "Hudson.log"  will get posted to the Build Result.   If I request the build from Jenkins the console log does not get posted to the Build Result.     Is there some way to make this happen.

I did notice that someone posted a similar question: 

https://jazz.net/forum/questions/169624/is-there-a-way-to-make-the-hudson-log-available-in-rtc-when-poll-scm-is-enabled-in-jenkins?redirect=%2Fforum%2Fquestions%2F169624%2Fis-there-a-way-to-make-the-hudson-log-available-in-rtc-when-poll-scm-is-enabled-in-jenkins 

And the answer to the above link was a bit dismissive to say the least,  i.e.  "Working as Designed".    Even if that is the case,  I would say that it is not designed the way I would like it.

0 votes

Comments

I also wish that it worked as you suggest.. I do not have anything to do with product development, I am just another user.  looking at the code, there are a bunch of technical things that make it harder to do.  and I can understand why it is the way it is.

my current employer doesn't use RTC for source code mgmt or build, so I have no ability to impact the solution.



2 answers

Permanent link
I would suggest opening an enhancement request at https://www.ibm.com/developerworks/rfe/

0 votes


Permanent link

I am searching for a better answer, but if the last thing you do in the ANT script is return the Jenkins log, you get most of what you want, this is not perfect but better than nothing (you must also ensure that this runs on the master not the slave). Downloading the console output build result html page would be a better option still, but I am stopped by a security issue, might be https issue. 


<logPublisher buildResultUUID="${buildResultUUID}"
              repositoryAddress="${repositoryAddress}"
              userId="${userId}"
              password="${password}"
              filePath="C:/Jenkins/jobs/Folder/jobs/BuildJobName/lastSuccessful/log"
              label="console output from Jenkins URL" />

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

Question asked: Feb 20 '15, 3:51 p.m.

Question was seen: 4,339 times

Last updated: Jul 01 '19, 2:29 a.m.

Confirmation Cancel Confirm