Closed
Description
- Please check our current Issues to see if someone already reported this https://github.com/Microsoft/vsts-node-api/issues
- Take a look at our Instructions for logging issues https://github.com/Microsoft/vsts-node-api/blob/master/CONTRIBUTING.md#instructions-for-logging-issues
Environment
Node version: v18.14.0
Npm version: 9.3.1
OS and version: windows 10 22H2
azure-devops-node-api version: 2022.1
Issue Description
When updating a secure file (deleting and then reuploading with the new content with the same name) every classic pipeline breaks that was using that secure file.
Expected behaviour
The classic pipelines should hold the reference for the new secure file.
Actual behaviour
The classic pipelines referencing the old secure file break.
Steps to reproduce
This issue is strongly related to microsoft/azure-pipelines-tasks-common-packages#309
- upload secure file
- create classic pipeline with a secure file download task
- set the secure file created in step 1 to be downloaded
- save pipeline
- delete secure file and reupload
Logs
Fix
### Tasks
- [ ] https://github.com/microsoft/azure-devops-node-api/pull/591