It's all about the answers!

Ask a question

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


Albert Mello (16166) | asked Feb 20 '15, 3:51 p.m.
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.


Comments
sam detweiler commented Feb 21 '15, 9:20 a.m.

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
Richard Good (872158) | answered Jul 01 '19, 2:29 a.m.

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" />


permanent link
Abraham Sweiss (2.4k1331) | answered Feb 20 '15, 4:03 p.m.
I would suggest opening an enhancement request at https://www.ibm.com/developerworks/rfe/

Your answer


Register or to post your answer.