Allow publishing build artifacts via an API

I’ve worked with TeamCity in the past (a CI server) which allowed “publishing” various artifacts from the build.

This used to work by specifying paths (full paths or using wildcards), which would then get copied and published as the build’s “results”. I could then download those, or go over artifacts from different builds.

It would be nice to be able to support this with cloud build (for example - using an API).

You already have the BuildManifestObject for “advanced” uses. I’d like to see more things like that, for example let me run a Post build step that will do something like:

// Export all .txt files from the output folder (can then download from cloud build dashboard
CloudBuild.ExportArtifacts(new [] { "output/*.txt" });

Ya I like this idea a lot. Will discuss internally and see how this might fit in with our current plans.

Hi @dannyd ,

Is there any update on the topic ? I see there Unity DevOps Build Automation Artifact API there is an API for artifacts, but I am not sure how it can be used by users.

This would be really useful for .Peek users to get their build report from the Unity Cloud.

@dannyd Any news about this?