[BUG]Extractor pipeline getting failed at Fetch Extractor step when trying to extract definition for single API after adding tokenization to change API name in different environment
- Dominant language
- C#
- Stars
- 448
- Forks
- 247
- PR merge metrics
- No merged PRs in 30d
Description
### Release version
APIOps toolkits for Azure APIM v6.0.1.1
### Describe the bug
##[error]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell exited with code '1'.
##[debug]task result: Failed
##[error]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell wrote one or more lines to the standard error stream.
##[error]InvalidOperation: /home/vsts/work/_temp/e9b276f0-a9d8-4f16-946d-b3477352ff95.ps1:24
Line |
24 | … om/Azure/apiops/releases/download/v6.0.1.1/$releaseFileName__;!!Afohz …
| ~~~~~~~~~~~~~~~~~~
| The variable '$releaseFileName__' cannot be retrieved because it has not
| been set.
##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]InvalidOperation: /home/vsts/work/_temp/e9b276f0-a9d8-4f16-946d-b3477352ff95.ps1:24
Line |
24 | … om/Azure/apiops/releases/download/v6.0.1.1/$releaseFileName__;!!Afohz …
| ~~~~~~~~~~~~~~~~~~
| The variable '$releaseFileName__' cannot be retrieved because it has not
| been set.
### Expected behavior
It should be extracted in a separate folder
### Actual behavior
at Fetch Extractor step it is getting failed and not extracting the definition also need to know steps for publishing specific APIs or new APIs only, rather than all APIs in the Azure DevOps Repos.
### Reproduction Steps
[run-publisher.yaml.txt](https://github.com/user-attachments/files/18149436/run-publisher.yaml.txt)
[run-publisher-with-env.yaml.txt](https://github.com/user-attachments/files/18149438/run-publisher-with-env.yaml.txt)
[run-extractor.yaml.txt](https://github.com/user-attachments/files/18149437/run-extractor.yaml.txt)
Contributor guide
Assessment
This issue has not been assessed yet.