Skip to content

Change up travis URL. #5087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/build/citool
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def parseArgs():
parser.add_argument('-v', '--verbose', help='verbose output', action='store_true')
parser.add_argument('-i', '--input-file', help='read logs from file rather than CI', action='store_true', dest='ifile')
parser.add_argument('-o', '--output-file', help='store intermediate buffer to a file (e.g., jenkins console or component logs)', action='store_true', dest='ofile')
parser.add_argument('-u', '--url', help='URL for CI build job (default is Travis CI)', default='https://api.travis-ci.org')
parser.add_argument('-u', '--url', help='URL for CI build job (default is Travis CI)', default='https://api.travis-ci.com')

subparser = subparsers.add_parser('monitor', help='report passing or failing tests (only failing tests by default)')
subparser.add_argument('-a', '--all', help='show all tests suites, passing and failing', action='store_true')
Expand Down Expand Up @@ -207,7 +207,7 @@ def monitorOnce(args):
body = validateResponse(res)

if args.ofile:
file = open('%s-console.log' % args.job, 'w')
file = open('%s-console.log' % args.job, 'wb')
file.write(body)
file.close()
if args.ifile or res.status == OK:
Expand Down