I figured out the issue.

I wasn't using the full path in my command.  Once I updated that Jenkins
was able tail the logs.





On Thu, Mar 7, 2019 at 10:50 AM Darin Duphorn <[email protected]>
wrote:

>
> Hello, It's my first day in the "Jenkins Users" group.
>
> I've been struggling with tailing device logs when executing a Jenkins
> build.
>
> My code works through Maven, but the tail returns null when executing the
> same test from Jenkins.
>
> Is there a plug in that will help me with this?
>
> Flow:  Jenkins -> Maven -> Eclipse (Java) -> TestNG -> Selenium
>
> I need to figure this out because I push a command to a device, and the
> device screen changes.  In-order for me to know the change happened I need
> to scan the device logs for a specific log event.
>
> Also, if I add the command to the Pre Steps section -> Execute shell, it
> works, but it doesn't help because I can on trigger the command as needed.
>
> Thanks for any help you can provide.
>
>
>
>
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/0b51c330-2bad-40fa-be88-0fe98c499953%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/0b51c330-2bad-40fa-be88-0fe98c499953%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CABY1U6HPVVNrjZ%2B-G7uN0SqARwengxvRGdR26MzY%2BAkoWWAz%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to