You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team @simple-elf , can you provide us a method to remove report history by folder created time?
entrypoint.sh 38 ls | sort -n | head -n -$((${INPUT_KEEP_REPORTS}-2)) | xargs rm -rv;
this method support us to remove the allure report history by sort -n, but I need to remove the history folder by report generated timestamp. Could your team help to change this shell cmd to ls -rt | head -n -$((${INPUT_KEEP_REPORTS}-2)) | xargs rm -rv or something like this, or build a new method for us to use?
The text was updated successfully, but these errors were encountered:
Hi team @simple-elf , can you provide us a method to remove report history by folder created time?
entrypoint.sh
38 ls | sort -n | head -n -$((${INPUT_KEEP_REPORTS}-2)) | xargs rm -rv;
this method support us to remove the allure report history by sort -n, but I need to remove the history folder by report generated timestamp. Could your team help to change this shell cmd to
ls -rt | head -n -$((${INPUT_KEEP_REPORTS}-2)) | xargs rm -rv
or something like this, or build a new method for us to use?The text was updated successfully, but these errors were encountered: