Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

[CE-919] AWS CodeBuild detected, but fail to upload #152

Closed
@blakemorgan

Description

@blakemorgan

When I run npm test && codecov (after the codecov package has been installed globally), I get the following output:

  _____          _   
 / ____|        | |   
| |     ___   __| | ___  ___ _____   __   
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /   
| |___| (_) | (_| |  __/ (_| (_) \ V /   
 \_____\___/ \__,_|\___|\___\___/ \_/   
                                v3.6.1 
==> Detecting CI Provider 
    AWS CodeBuild Detected 
==> Configuration:  
    Endpoint: https://codecov.io 
{ commit: 'c6df5d3b21ab1f6dc345b5e8a382b9895fc42ba8', 
  branch: 'dev', 
  package: 'node-v3.6.1' } 
==> Building file structure 
==> Generating gcov reports (skip via --disable=gcov) 
    $ find /codebuild/output/src294305816/src/github.com/byu-oit/campus-map -type f -name '*.gcno'  -exec gcov  {} + 
==> Scanning for reports 
    + /codebuild/output/src294305816/src/github.com/byu-oit/campus-map/coverage/lcov.info 
    + /codebuild/output/src294305816/src/github.com/byu-oit/campus-map/coverage/clover.xml 
==> Uploading reports 
    HTTP 400 
service must be ci-provider 

As you can see, Codecov detects AWS CodeBuild, but for some reason, when it tries to upload the report, a 400 error is returned with the message service must be a ci-provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions