How to browse the results (target) directory

9 views
Skip to first unread message

Moddy Ʈe'eni

unread,
Jan 21, 2014, 3:13:57 AM1/21/14
to jenkins...@googlegroups.com
My testing job (Maven/TestNG) creates logs for failed tests. Is there a way to view these logs using jenkins' http server? Currently I have to login into the machine and/or copy files with FTP.

My files are under the workspace directory, but I can write them somewhere else if it makes things easier.

Thanks, Moddy.

Maciej Jaros

unread,
Jan 21, 2014, 5:07:56 AM1/21/14
to jenkins...@googlegroups.com
Moddy Ʈe'eni (2014-01-21 09:13):
My testing job (Maven/TestNG) creates logs for failed tests. Is there a way to view these logs using jenkins' http server? Currently I have to login into the machine and/or copy files with FTP.

My files are under the workspace directory, but I can write them somewhere else if it makes things easier.

They should be downloadable if you mark them as artificats in post build step.

Cheers,
Nux.

Moddy Ʈe'eni

unread,
Jan 21, 2014, 5:45:36 AM1/21/14
to jenkins...@googlegroups.com
You mean using Archive the artifacts? I can't do that. There are potentially hundreds of such files, and I don't know their names beforehand.

Moddy


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/gKQIvcAP9_s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Vivekanand S V

unread,
Jan 21, 2014, 6:01:15 AM1/21/14
to jenkins...@googlegroups.com
You can use wildcards (ant pattern) I think (**/*.log) if  you know the extension. or *.* if you need all the files. 

If both wont work, then you better move the logs to a separate folder (or zip it) during the build process and use that for archiving.


--
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.
Reply all
Reply to author
Forward
0 new messages