Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pbinnell_2355
      last edited by

      Hi,
      Looking at the example code located here.
      https://docs.inedo.com/docs/proget-sca-ci?_gl=1*5b25fn*_ga*MTM0MDMzMTcyOS4xNzA2MTI0NDgx*_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

      1 Reply Last reply Reply Quote 0
      • gdivisG Offline
        gdivis inedo-engineer
        last edited by

        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 of dotnet pgutil

        Hope this help!
        -Greg

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation