Utility: Update Service Fabric App Versions
VSTS | TFS 2018 | TFS 2017
Automatically updates the versions of a packaged Service Fabric application.
This task appends a version suffix to all service and application versions, specified in the manifest files, in an Azure Service Fabric application package.
The location of the Service Fabric application package to be deployed to the cluster.
The value appended to the versions in the manifest files. Default is
Specify whether to append the version value to existing values in the manifest files, or replace them.
|Update only if changed||
Select this check box if you want to append the new version suffix to only the packages that have changed from a previous build. If no changes are found, the version suffix from the previous build will be appended.
Note: By default, the compiler will create different outputs even if you made no changes. Use the deterministic compiler flag to ensure builds with the same inputs produce the same outputs.
|Package Artifact Name||
The name of the artifact containing the application package from the previous build.
|Log all changes||
Select this check box to compare all files in every package and log if the file was added, removed, or if its content changed. Otherwise, compare files in a package only until the first change is found for potentially faster performance.
Specify whether to compare against the last completed, successful build or against a specific build.
If comparing against a specific build, the build number to use.
- task: ServiceFabricUpdateManifests@2 inputs: # updateType: Manifest versions # Manifest versions (default), Docker image settings applicationPackagePath: # versionSuffix: .$(Build.BuildNumber) # versionBehavior: Append # Append (default), Replace # updateOnlyChanged: false pkgArtifactName: # logAllChanges: true # compareType: LastSuccessful # LastSuccessful (default), Specific buildNumber: # overwriteExistingPkgArtifact: true imageDigestsPath:
Do I need an agent?
You need at least one agent to run your build or release. Get an agent.