Publisher Pipeline getting failed at Run publisher for Dev environment Task
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.<<GetRunApplication>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.<Main>(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
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Hi, I am experiencing the same error as you. Did you have any luck troubleshooting?