It is the default destination directory of the Download Build Artifacts task. This directory is used during release pipeline or release stage to receive downloaded artifacts from build pipeline or from previous stages. $(System.ArtifactsDirectory)Īlias : $(System.DefaultWorkingDirectory), $(Agent.ReleaseDirectory) It is the default destination directory of the Download Pipeline Artifacts and the default source (targetPath) of the Publish Pipeline Artifacts task. This is the main directory of a pipeline, it contains the folder of the repository as well as all the folders of the build pipeline. This can be really irritating for someone who is new to Azure DevOps or to this field in general, and believe me if you are, Azure DevOps documentation is loaded with hideousness like this. Would it be so difficult to use the naming : source and destination ? the source ! Who would use the word target to describe the source from where you publish things, I mean seriously ! Especially when you haven’t mentioned anywhere in the article the actual destination. Take for example the targetPath property, that actually defines the “Path to the folder or file you want to publish.”, i.e. What you would notice also when reading the documentation of both tasks, is that the names of their properties are really confusing and do not describe their functionalities. However, Microsoft recommends upgrading to the first one because it’s faster. Publish Pipeline artifacts task is a successor of the Publish Build Artifacts task, which is somehow better documented. You can never know from the documentation where does this task publish the artifacts, or if you have the possibility to choose between different targets (Well… targets, the word itself causes confusion as we will see). Publish Pipeline artifacts task in AzureDevOps yaml pipeline
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |