cancel
Showing results for 
Search instead for 
Did you mean: 

Jenkins - Do not store log file in Jenkins

Highlighted
Occasional Contributor

Jenkins - Do not store log file in Jenkins

Hi,

 

I currently have about 60 tests which I run through the Jenkins plugin.

 

these tests take about 2 mins 20 secs to run but because it is comparing a vast amount of region checkpoints, when it comes to creating the log file in Jenkins this takes up quite some time. This time ranges from 30 secs up to 1 min 30 secs. Now as you can appreciate this additional time added on to 60+ tests is a lot of redundant time where nothing appears to be happening (certainly no testing is happening).

 

Is there a way to stop the automatic creation of this log and importing it into Jenkins?

 

I can see in the plugin source code on GitHub the following lines of code which appears to be automatically setting the export logs and error logs.

 

args.add(EXPORT_LOG_ARG + workspace.getSlaveLogXFilePath().getRemote());

args.add(EXPORT_LOG_ARG + workspace.getSlaveHtmlXFilePath().getRemote());

args.add(ERROR_LOG_ARG + workspace.getSlaveErrorFilePath().getRemote());

 

Is there anyway to bypass this?

 

Any help would be appreciated.

 

Thanks,

 

Rich

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.

Labels