I have never used Nuget but looks like Nuget isn't installed or isn't
present on the path of the user that Jenkins is running as?

Also usually plugins will expose their own "methods" so would think you'd
be using one of those rather than using a sh step.

Richard

On Sun, 24 Feb 2019, 1:40 AM Faad Sayaou, <faad...@gmail.com> wrote:

> Hi All,
> I am trying to push my nuget package generated from dotnet build and pack
> command. I already installed the Nuget plugin and I also configured API key
> and server URL.
> I left the NuGet command line executable field empty in the jenkins config.
>
> I did a sh *"nuget push myNuget.package.$version.symbols.nupkg -s
> $NugetServer -sk <API key>*"
>
> I get an error on the console saying *nuget command not found*
>
>
> *Please help!!!!!*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/f22991dc-2ddf-4a4a-b316-41baa9ea2d35%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/f22991dc-2ddf-4a4a-b316-41baa9ea2d35%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwftoEQQmR%3D1NGwAg65io9WD5dgYvMQzwTHp%3DZnwquSJRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to