I'm trying to publish my node application using NuGet and Azure DevOps.
Client requires to pack node_modules together with source code, so that application can be used without installing dependencies on host.
Here is part of azure-pipelines.yml responsible for pushing package:
- task: NuGetCommand@2
displayName: "Publish the artifacts"
inputs:
command: push
packagesToPush: "path-to-package.nupkg"
nuGetFeedType: internal
publishVstsFeed: "SomeFeed"
versioningScheme: byEnvVar
versionEnvVar: BuildNumber
verbosityPush: "Detailed"
arguments: "-Timeout 901"
Docs say that i can use arguments field to pass parameters to the command, but it seems it it ignored and push command always times out after 5 minutes (or 300 seconds - that is default timeout)
There is no information in the docs about format of arguments field, I just assumed it should be a string.
What am I missing?