Skip to content

Frosting: How to stop parallel/background execution of Tasks? #3023

Answered by devlead
bergziege asked this question in Q&A
Discussion options

You must be logged in to vote

UploadArtifact command only sends a console log command to the Azure DevOps build agent which parses the log and starts a background process that will store and associate the artifact with the build. So it's per definition an asynchronous process.

public void UploadArtifact(string folderName, FilePath file)
{
WriteLoggingCommand("artifact.upload", new Dictionary<string, string>
{
["containerfolder"] = folderName
}, file.MakeAbsolute(_environment).FullPath);
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pascalberger
Comment options

Answer selected by bergziege
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants