1

Is there an easy way to download the Travis CI build logs for all builds of a specific branch?

As mentioned here, it is possible to get a specific log file. This can be used in a bash loop over job ids,

for JOBID in $(COMMAND-HERE)
do
  wget https://api.travis-ci.org/v3/job/$JOBID/log.txt
done

but I'm not sure how to get the job numbers associated with, for example, the develop branch of the repository.

jmlarson
  • 837
  • 8
  • 31

0 Answers0