Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andreas-nesheim opened this issue Sep 4, 2020 · 2 comments
Open

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

andreas-nesheim opened this issue Sep 4, 2020 · 2 comments

Comments

@andreas-nesheim
Copy link

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
Copy link

kateerek commented Nov 5, 2020

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 (#13). Anyway it doesn't work.

@MrHinsh
Copy link
Member

MrHinsh commented Mar 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants