Skip to content

Exit code 1 on critical errors #1605

Closed

Description

The critical errors should probably return an exit code of 1 so that the tools like Azure DevOps pipelines could interpret the error conditions automatically. The kiota step was "successful" in the run below and the pipeline continued running, even though there was a critical error in that step.

https://microsoftgraph.visualstudio.com/Graph%20Developer%20Experiences/_build/results?buildId=76215&view=logs&j=c52f3745-d4e6-5486-f10a-a43ce9aa535b&t=13fd0947-9645-5959-dbba-e2cbb85ab89d&l=14

crit: Kiota.Builder.KiotaBuilder[0]
      Could not open the file at /home/vsts/work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml, reason: Could not find a part of the path '/home/vsts/work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml'.

cc: @ramsessanchez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

fixedgeneratorIssues or improvements relater to generation capabilities.

Type

No type

Projects

  • Status

    Done ✔️

Relationships

None yet

Development

No branches or pull requests

Issue actions