Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[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

Aperta
#713 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
azure, powershell
Ambito
api, devops

Direzione di ricerca

Inizia con il file allegato run-extractor.yaml.txt e confronta il relativo passaggio Fetch Extractor con run-publisher.yaml.txt e run-publisher-with-env.yaml.txt. Traccia come viene impostata la variabile releaseFileName prima del download che non riesce nell’errore PowerShell segnalato. Il lavoro è completato quando l’estrattore termina e inserisce l’unica definizione API in una cartella separata; deve inoltre essere affrontata la guida alla pubblicazione di API specifiche o nuove.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
run-publisher-with-env.yaml.txt
run-extractor.yaml.txt

Lingua principale
C#
Stelle
448
Fork
247
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/apiops

Tutte le issue di Azure/apiops

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.