Real-time command result

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Real-time command result

Mirek S
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.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ec8cb4e4-5d21-4ddb-8e77-611e574087dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Real-time command result

Victor Martinez
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/63bf08a7-9dc6-479e-8e3d-02239b38d6ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Real-time command result

Mirek S
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: <a href="https://jenkins.io/blog/2016/06/16/parallel-test-executor-plugin/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fblog%2F2016%2F06%2F16%2Fparallel-test-executor-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb_Z2C5JzsBhcNIGMbUDZAU231jg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fblog%2F2016%2F06%2F16%2Fparallel-test-executor-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb_Z2C5JzsBhcNIGMbUDZAU231jg&#39;;return true;">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. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e5f178e4-c12c-4787-8122-8e44f235bf3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Real-time command result

Mirek S
In reply to this post by Victor Martinez
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ł:
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: <a href="https://jenkins.io/blog/2016/06/16/parallel-test-executor-plugin/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fblog%2F2016%2F06%2F16%2Fparallel-test-executor-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb_Z2C5JzsBhcNIGMbUDZAU231jg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fblog%2F2016%2F06%2F16%2Fparallel-test-executor-plugin%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb_Z2C5JzsBhcNIGMbUDZAU231jg&#39;;return true;">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

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4919da2b-703c-4b99-ad42-f45a02e90817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.