title: The $(Build.ArtifactStagingDirectory) variable's value changes when deploying a build in Azure DevOps Pipelines
body: <p>I have a DACPAC deployment task which is failing, because for some reason the value of the <code>$(Build.ArtifactStagingDirectory)</code> pipeline variable is changing between the build pipeline and the release pipeline. In the build pipeline, the variable is set to <code>C:\agent\_work\2\a</code>, but in the release pipeline it's <code>C:\agent\_work\r2\a</code>. This is causing the release pipeline to fail when it tries to deploy the DACPAC artifact, because the folder it's looking in is empty; the folder where the artifact actually is is ignored. How do I make these variables consistent between the build and release pipelines so that the artifact is retrieved from the same folder it's generated in? These variables appear to be built in, so I don't see any way to change them. I could always hardcode a path, but that seems a bit kludgy...</p>