Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running export #212

Open
scottlezberg opened this issue Apr 18, 2024 · 1 comment
Open

Error running export #212

scottlezberg opened this issue Apr 18, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@scottlezberg
Copy link

I am trying to export and getting this error. We use Azure DevOps Server 2022 (on-premise). - Any ideas on how to fix?

AzureDevOps/Utilities/YamlPipelineGenerator.cs:line 112
at CasCap.Utilities.YamlPipelineGenerator.GenPipeline() in //src/CasCap.Apis.AzureDevOps/Utilities/YamlPipelineGenerator.cs:line 67
at CasCap.Commands.GenerateCommand.<>c__DisplayClass31_4.g__ProcessDefinition|16(BuildDefinition buildDefinition) in /
/src/CasCap.DevOpsYamlizrCli/Commands/GenerateCommand.cs:line 241
at CasCap.Commands.GenerateCommand.OnExecuteAsync() in //src/CasCap.DevOpsYamlizrCli/Commands/GenerateCommand.cs:line 223
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at CasCap.Program.Main(String[] args) in /
/src/CasCap.DevOpsYamlizrCli/Program.cs:line 33
at CasCap.Program.

(String[] args)

@scottlezberg scottlezberg added the bug Something isn't working label Apr 18, 2024
@f2calv
Copy link
Owner

f2calv commented Apr 24, 2024

I can only suggest;

  1. clone the repo & open in Visual Studio
  2. add the required configuration parameters to https://github.com/f2calv/yamlizr/blob/main/src/CasCap.DevOpsYamlizrCli/Properties/launchSettings.json
  3. execute DevOpsYamlizrCli application in Debug mode, and debug
  4. create a PR if possible!

@f2calv f2calv added the help wanted Extra attention is needed label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants