Real-time command result

20 views
Skip to first unread message

Mirek S

unread,
Nov 3, 2017, 7:55:06 AM11/3/17
to Jenkins Users
Hello,

I'm looking for some kind of real-time, scriptable monitor for every build that's running. 

The example scenario: Basically when I'm running tests I always ssh to the jenkins service and run "watch -n 0.1 'tail -n 0.1 workspace/jobname/test_result_file*'" to see if given test execution has finished (I have parallel tests going on). I'd love to see real time result of some command in every build running in Jenkins. Have anyone heard of a plugin that would accomplish this?

The only solution I came up with is to create external auto-refreshing cgi-bin service and embed it via iframe into build view, but if anyone has better idea, please let me know.

Regards,
MS.

Victor Martinez

unread,
Nov 3, 2017, 8:54:43 AM11/3/17
to Jenkins Users
Hi,

I'm not really familiar with any plugin though, but out of curiosity and some other idea/suggestion:

- Can you just use Pipeline and split your tests in stages and parallel executions? It won't fulfil your initial requirement but might help you to orchestrate your builds with parallel test executions and with fast feedback, there is a nice entry about it: https://jenkins.io/blog/2016/06/16/parallel-test-executor-plugin/

So maybe by sending the status faster to each step/stage/branch might help you with

Just an idea, sorry if i couldn't answer your initial question, hope someone else got some further ideas/suggestions

Cheers

Mirek S

unread,
Nov 3, 2017, 9:31:44 AM11/3/17
to Jenkins Users
W dniu piątek, 3 listopada 2017 13:54:43 UTC+1 użytkownik Victor Martinez napisał:
 
- Can you just use Pipeline and split your tests in stages and parallel executions? It won't fulfil your initial requirement but might help you to orchestrate your builds with parallel test executions and with fast feedback, there is a nice entry about it: https://jenkins.io/blog/2016/06/16/parallel-test-executor-plugin/
 
Thanks for the idea! Unfortunately I'm using highly customized test framework and I didn't manage to get the parallel test plugin to work with it. 

Mirek S

unread,
Nov 10, 2017, 6:35:12 AM11/10/17
to Jenkins Users
Victor - since you mentioned it - did you succeed to split your tests per-testcase? 

It's only grouping suites for me - I'd like to see half of suite in one parallel closure and the other half in another.


W dniu piątek, 3 listopada 2017 13:54:43 UTC+1 użytkownik Victor Martinez napisał:
Reply all
Reply to author
Forward
0 new messages