diff --git a/.azure-pipelines/common-templates/security-prechecks-template.yml b/.azure-pipelines/common-templates/security-prechecks-template.yml index e2e68ac3ff5..71cd9b4cdc8 100644 --- a/.azure-pipelines/common-templates/security-prechecks-template.yml +++ b/.azure-pipelines/common-templates/security-prechecks-template.yml @@ -11,7 +11,7 @@ steps: - task: PoliCheck@1 displayName: 'Run PoliCheck' - condition: and(succeeded(), eq(eq(variables['Build.SourceBranch'], 'refs/heads/master'), false)) + condition: and(succeeded(), eq(eq(variables['Build.SourceBranch'], 'refs/heads/main'), false)) inputs: targetType: F SOMEnabled: true diff --git a/.azure-pipelines/integrated-pipeline.yml b/.azure-pipelines/integrated-pipeline.yml index 61ca58d64ee..d2137496d51 100644 --- a/.azure-pipelines/integrated-pipeline.yml +++ b/.azure-pipelines/integrated-pipeline.yml @@ -37,7 +37,7 @@ pool: $(BUILDAGENT) trigger: branches: include: - - master + - main - dev - releases/* - bugfixes/* @@ -62,7 +62,7 @@ stages: targetType: 'inline' script: | printenv - if ('$(Build.SourceBranchName)' -eq "master"){ + if ('$(Build.SourceBranchName)' -eq "main"){ Write-Host "##vso[task.setvariable variable=BUILDNUMBER;isOutput=true]-1" } Write-Host $(BUILDNUMBER)