Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Travis CI old builds

Tags:

travis-ci

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 links for old commits.

Any chance to remove those old builds?

like image 875
gremo Avatar asked Dec 14 '12 21:12

gremo


People also ask

How do I remove Travis CI repository?

You should see a My repositories label followed by a plus sign (i.e. + ). Click on that plus sign (i.e. + ). It will lead you to a page listing all your Github repositories with an on/off toggle beside each one. Just put the toggle to "off" for the repositories you don't want in Travis CI.

What is Travis CI used for?

Travis CI is an open-source hosted distributed continuous integration service used to build and test projects hosted at GitHub. Travis CI is configured by adding a file named .


2 Answers

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.

like image 108
Archimedes Trajano Avatar answered Sep 19 '22 16:09

Archimedes Trajano


There's no way for the user to remove builds, but if you really want them removed I think your best bet is to email support ([email protected]) and ask them to remove it manually.

like image 25
sarahhodne Avatar answered Sep 21 '22 16:09

sarahhodne