Sitefinity Cloud now provides Azure Logic Apps for creating and running automated workflows that integrate your applications, services, and systems. Users can quickly develop scalable integration solutions and utilize the vast number of built-in integrations
to third-party services without writing a single line of code.
There are two new parameters in the "CICDDotNetCoreRendererTemplate.yaml" that allows for defining custom pre-build and post-build steps in the CI stage. The parameters are of type "stepList" and allow for standard YAML task/step syntax. These parameters
can be used in the "CICD.yaml" file in the .NET Core repository to plug custom tasks before or after the MS build.
extends:
template:
CICDDotNetCoreRendererTemplate.yaml@SitefinityCloudPipelines
parameters:
buildConfiguration:
$
{
{
parameters.buildConfiguration
}
}
projectName:
SomeProjectName
preBuildSteps:
-
task
:
NuGetAuthenticate@1
inputs:
forceReinstallCredentialProvider:
true
-
task
:
DotNetCoreCLI@2
displayName:
Add NucleusNugetFeed
inputs:
command:
custom
custom:
nuget
workingDirectory:
'$(Build.Repository.LocalPath)'
postBuildSteps:
-
task
:
VSTest@2
displayName:
'Test Assemblies'
inputs:
testAssemblyVer2:
|
**\$(BuildConfiguration)\*test*.dll
!**\obj\**
searchFolder:
'$(Build.Repository.LocalPath)'
runTestsInIsolation:
true
codeCoverageEnabled:
true
testRunTitle:
'Default Test Run'
platform:
'$(BuildPlatform)'
configuration:
'$(BuildConfiguration)'
diagnosticsEnabled:
True