Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
pgutil not working in CI/CD yaml pipeline
-
Hi,
Looking at the example code located here.
https://docs.inedo.com/docs/proget-sca-ci?_gl=15b25fn_gaMTM0MDMzMTcyOS4xNzA2MTI0NDgx_ga_FNLRKW6N8G*MTcxNTI2MTE5Ni4yMC4xLjE3MTUyNjE2NjIuNjAuMC4w
I am unable to get the pgutil to work within the yaml pipeline. I have used both, the Powershell version and yaml script commands but I get the same error. The following is from the Powershell code.
Tool 'pgutil' was reinstalled with the stable version (version '1.0.0').
Could not execute because the specified command or file was not found.
Possible reasons for this include:- You misspelled a built-in dotnet command.
- You intended to execute a .NET program, but dotnet-pgutil does not exist.
- You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Any help on getting this work would be great.
Thank you,
Paul
-
Hi @pbinnell_2355,
Looks like the example code was incorrect. I've updated it. When a dotnet tool is installed globally, you run it by just running the tool name directly, so
pgutil
instead ofdotnet pgutil
Hope this help!
-Greg