naspinski
naspinski

Reputation: 34717

Azure Deploy Service Fabric Application error: no

I am trying to deploy a Service Fabric app from TFS online builds. I added a Deploy Service Fabric and made the following settings (seem to be the recommended settings everywhere):

Application Package:

$(System.DefaultWorkingDirectory)/**/drop/applicationpackage

Publish Profile:

$(System.DefaultWorkingDirectory)/**/drop/projectartifacts/**/PublishProfiles/Dev.xml

Then when I run the build, I get the error:

Searching for path: 

d:\_work\16\s\**\drop\projectartifacts\**\PublishProfiles\Dev.xml
No items were found with search pattern d:\_work\16\s\**\drop\projectartifacts\**\PublishProfiles\Dev.xml.
Searching for path: d:\_work\16\s\**\drop\applicationpackage

No items were found with search pattern d:\_work\16\s\**\drop\applicationpackage

Any idea what I am missing? I am new to this, if you need more information, please let me know. Thank you.

Upvotes: 1

Views: 1023

Answers (1)

Matt Thalman
Matt Thalman

Reputation: 3995

Have you followed the instructions at https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-set-up-continuous-integration? Specifically, the instructions for how to setup a build definition? The build definition that you create needs to place the necessary files in the drop location that you are referencing here in your configuration of the Deploy task.

Upvotes: 3

Related Questions