Remove Travis CI old builds

前端 未结 7 1704
悲哀的现实
悲哀的现实 2020-12-28 12:50

This is my first day using Travis CI. I made some mistakes, I\'ve tried removing and adding the repository again, but Travis CI build history is still there, with broken lin

相关标签:
7条回答
  • 2020-12-28 13:54

    You can use the travis command line tool

    Login first using travis login then you can do the following

    LAST_BUILD_NUMBER=68
    for i in $(seq 1 $LAST_BUILD_NUMBER ); do  travis logs $i --delete --force ; done
    

    This will remove the "logs" so there's no information aside from the header and any confidential information will no longer be visible.

    0 讨论(0)
提交回复
热议问题