robotframework - Using the Robot Framework plugin, how to copy files outside the log folder into Jenkins? -
i running robot framework tests through jenkins, , tests use custom python library take screenshots, save them specific folder (that not log folder), , embed them log. in jenkins job, have post-build action set publish robot results, , can jenkins copy image files generated within log folder, can't figure out how copy image files generated outside log folder.
the project's %workspace%
d:\git\product\registration
the directory of robot output \log\patient_search
(the log directory generated inside registration directory)
the directory other images generated d:\git\product\registration\verify\images
if put *.png
"other files copy" box, jenkins copy images within log\patient_search
directory , embed correctly log. have in box *.png,%workspace%\verify\images\**
, , have tried using backslashes instead, using relative path (..\..\verify\images\**\*.png
), , various combinations of asterisks , slashes. images show broken links in log.
are these paths wrong, or can not done files outside of log folder?
i believe robot framework plugin "other files copy" works inside "directory of robot output". workaround create build step execute shell , copy files robot output directory.
Comments
Post a Comment