nkdAgility / azure-devops-variable-tools

Visual Studio Team Services Build and Release Management extensions that help you make use of your build variables in your Release workflows.
https://marketplace.visualstudio.com/items?itemName=nkdagility.variablehydration
MIT License
9 stars 3 forks source link

Json file not being saved when using Variable Save Task #14

Open andreas-nesheim opened 3 years ago

andreas-nesheim commented 3 years ago

According to the documentation and source code a .json-file should be saved with the requested variables. I set it to be stored in the default folder (Build.ArtifactStagingDirectory), but I don't see it in the final result of my build step. I am publishing build artifacts from the mentioned folder, but no .json files appear. I am using Azure DevOps Server. See the attached screenshot for the logs:

image

According to the documentation, the last log line should log "created {result}", but it just logs "created ".

kateerek commented 3 years ago

I had the same issue but actually you can turn off cleaning in your pipeline and file will remain in workspace but then there is another issue posted here by @omarsourour at 28 February (https://github.com/nkdAgility/azure-devops-variable-tools/issues/13). Anyway it doesn't work.

MrHinsh commented 1 year ago

I currently use this toom in 5 different pipelines. Its correctly created the files where I expected. Can you share your configuration?