Open
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
DotNetCoreCLI@2
Task version
2
Issue Description
We have the following set that publishes the web projects -
- task: DotNetCoreCLI@2
displayName: 'Publish Web Apps'
condition: and(succeeded(), eq(${{ parameters.ReleaseBotOnly }}, false))
inputs:
command: publish
publishWebProjects: false
projects: $(WebAppProjects)
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
zipAfterPublish: True
In our project, we have a nuget.config
, that points to a private nuget artifact feed
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="CardiffCouncilNugets" value="https://pkgs.dev.azure.com/cardiffcouncilict/_packaging/CardiffCouncilNugets/nuget/v3/index.json"/>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json"/>
</packageSources>
</configuration>
When the DotNetCoreCLI
task runs, it's publishing all the nugets to that private feed. Other than that nuget.config
, nothing in the pipeline is telling it to publish any nugets or specifying a feed to send them to.
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
window-latest
Relevant log output
Nothing in the logs indicate its sending anything over too the feed
Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]