Skip to content

Non-zero exit code but package get's build and uploaded successfully #836

@timosachsenberg

Description

@timosachsenberg

Hi, our bioconda build always returns with exit code != 0 because it doesn't find the tar.gz file

OpenMS/OpenMS#6514 (comment)

We disabled upload during build and the perform the upload separately - which works:

Using Anaconda API: https://api.anaconda.org
[DEBUG] Using token from command line args
Using "openms" as upload username
Processing '/home/builder/jenkins-ws/ws/openms/ntly/conda/output/linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2'
Detecting file type...
[DEBUG] Testing if conda package ..
[DEBUG] This is a conda package
File type is "conda"
Extracting conda package attributes for upload
Creating package "libopenms"
Creating release "3.0.0dev"
Uploading file "openms/libopenms/3.0.0dev/linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2"
[WARNING] Distribution "linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2" already exists. Removing.
Upload complete

Could this be an error in build?

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