Well I have a nuget.config file. The non-pipeline job reads it just fine 
with the "dotnet nuget push" command.
The pipeline job on the other hand does not.
I tried putting the nuget.config file in every possible location, but to no 
avail.

Op vrijdag 3 augustus 2018 22:08:26 UTC+2 schreef slide:
>
> Do you have any credentials or anything setup in your non-pipeline job?
>
> On Fri, Aug 3, 2018 at 1:06 PM Jeroen Hendriks <[email protected] 
> <javascript:>> wrote:
>
>> I have a step which should push my nuget package to my private nexus 
>> repository.
>>
>> steps {
>>        powershell("dotnet nuget push 
>> Tans.Library.Contracts/bin/Debug/*.nupkg -s NexusOss")
>> }
>>
>> But I get the error that it can't find my source. And I also can't use 
>> the direct url since it requires credentials.
>> I'm at a bit of a loss because the command works fine in a normal job, 
>> but not with pipeline.
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a3d660d5-95d2-4204-93a4-51a7f9aa7a1d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a3d660d5-95d2-4204-93a4-51a7f9aa7a1d%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c0003ccc-7b3c-4c9b-bc7c-3d7cfcecab2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to