Sitefinity Cloud
Release Notes

Sprint Update on March 18, 2022

March 18, 2022

What's new

Ability to add custom post-release steps for CD pipeline

There is a new parameter in the "CICDTemplate.yaml" that allows to define custom post-release steps in the CD stage for each environment. The parameter is defined in the environments collection parameter and is called "postReleaseSteps". The parameter is of type "stepList" and allows for standard YAML task/step syntax. This parameter can be used in the "CICD.yaml" file to plug custom tasks after the release of the deployment package. The custom steps are defined per environment and only an allowed list of task types can be used. The allowed task types as of this moment are:

  • DownloadPipelineArtifact@2
  • VisualStudioTestPlatformInstaller@1
  • VSTest@2

See an example below for a custom post-release task to run web tests based on an artifact called 'tests' produced in the CI stage:

  template: CICDTemplate.yaml@SitefinityCloudPipelines
    - name: 'Staging'
      - task: DownloadPipelineArtifact@2
        displayName: 'Download tests'
          source: 'current'
          artifact: 'tests'
      - task: VisualStudioTestPlatformInstaller@1
        displayName: 'Visual Studio Test Platform Installer'
          versionSelector: 'latestStable'
      - task: VSTest@2
        displayName: 'VsTest - testAssemblies'
          testSelector: 'testAssemblies'
          testAssemblyVer2: |
          searchFolder: '$(Pipeline.Workspace)'
          runTestsInIsolation: true
          codeCoverageEnabled: true
          testRunTitle: 'Default Test Run'
          diagnosticsEnabled: true
          vsTestVersion: 'toolsInstaller'

What's improved

  • Improved custom CDN rewrite and redirect rules to apply URI encoding in query strings when defined in rules.
  • Improved security and reliability of underlying infrastructure used for Automated Upgrades.
  • Fixed bug in Automated Upgrades where the latest Sitefinity version was not properly queried from "" when package versions are more than 100.
  • Improved custom connection string variable groups by allowing to set the connection "Type" as part of the value.
  • Improved Media Blob Storage data protection by increasing point-in-time-restore from 35 days to 355 days.
Progress Sitefinity

Meaningful engagement, elevated experiences delivered with ease.
Set your sites on Sitefinity.