Azure / Azure/apiops

Publisher Pipeline getting failed at Run publisher for Dev environment Task

Open
#711 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Description

### Release version

v6.0.1.4

### Describe the bug

Hello Team,

Good Day!

I am facing issue on Publisher pipeline at Run publisher for Dev environment Task. please find the below error to see.

--- End of stack trace from previous location ---
at publisher.AppModule.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /home/runner/work/apiops/apiops/tools/code/publisher/App.cs:line 165
--- End of stack trace from previous location ---
at common.HostingModule.RunApplication(IHost host) in /home/runner/work/apiops/apiops/tools/code/common/Hosting.cs:line 89
at common.HostingModule.RunHost(String[] arguments, String applicationName, Action`1 configureRunApplication) in /home/runner/work/apiops/apiops/tools/code/common/Hosting.cs:line 24
at publisher.Program.Main(String[] arguments) in /home/runner/work/apiops/apiops/tools/code/publisher/Program.cs:line 10
at publisher.Program.(String[] arguments)

##[error]Exception: /home/vsts/work/_temp/e246080a-fc84-403a-88b3-b63b83ecd9bf.ps1:9

##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=50fc34f1-fc8c-4a23-9a38-708b6facd10d;]Exception: /home/vsts/work/_temp/e246080a-fc84-403a-88b3-b63b83ecd9bf.ps1:9

##[error]Line |
9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.

##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=50fc34f1-fc8c-4a23-9a38-708b6facd10d;]Line |
9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.

Finishing: Run publisher for Dev environment.

### Expected behavior

The Publisher pipeline should run

### Actual behavior

The Publisher pipeline should run

### Reproduction Steps

i am not sure

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.