Skip to content

submit to Codecov from Azure pipelines fails #336

@babaq

Description

@babaq

Hi,
I recently switched from Travis to Azure pipelines, all the test have been working, but CI failed at Codecov.submit(precess_folder()). The repository is public, so no upload token needed for submitting from Azure pipeline to Codecov. The error message are :

[ Info: Submitting data to Codecov...
ERROR: HTTP.Exceptions.StatusError(404, "POST", "/upload/v4?branch=master&pull_request=&service=azure_pipelines&job=Experica.NeuroAnalysis.jl&build=27&commit=33b7462d12cde30365a80e13fa5b41db141cfce5&slug=Experica/NeuroAnalysis.jl&", HTTP.Messages.Response:
"""
HTTP/1.1 404 Not Found
server: envoy
date: Wed, 30 Nov 2022 21:41:37 GMT
content-type: text/plain; charset=utf-8
vary: Accept, Origin, Cookie
allow: GET, POST, HEAD, OPTIONS
X-Frame-Options: SAMEORIGIN
content-length: 152
x-content-type-options: nosniff
referrer-policy: same-origin
x-envoy-upstream-service-time: 20
Via: 1.1 google
Strict-Transport-Security: max-age=3104000
Content-Security-Policy-Report-Only: default-src 'self' codecov-cdn.storage.googleapis.com
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

{'detail': ErrorDetail(string='Missing "project" argument. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}""")
Stacktrace:


The submit function have code to handle azure pipeline, i don't have a clue where it goes worng.

Thanks,
Alex

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