Unable to ssh and tail device logs from the Jenkins

10 views
Skip to first unread message

Darin Duphorn

unread,
Mar 7, 2019, 11:50:51 AM3/7/19
to Jenkins Users

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.







Darin Duphorn

unread,
Mar 7, 2019, 11:53:50 AM3/7/19
to Jenkins Users
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.





--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0b51c330-2bad-40fa-be88-0fe98c499953%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages