diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 96bd6bd22c6e..3d8465797f08 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,6 +54,37 @@ stages: buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}' jobGroups: - name: vs + - job: + condition: eq(variables['Build.Reason'], 'PullRequest') + steps: + - checkout: none + - task: TriggerBuild@4 + inputs: + definitionIsInCurrentTeamProject: false + tfsServer: 'https://dev.azure.com/msazure/' + teamProject: 'b32aa71e-8ed2-41b2-9d77-5bc261222004' + buildDefinition: '329541' + queueBuildForUserThatTriggeredBuild: false + ignoreSslCertificateErrors: true + useSameSourceVersion: false + useCustomSourceVersion: false + useSameBranch: false + branchToUse: 'test' + waitForQueuedBuildsToFinish: true + waitForQueuedBuildsToFinishRefreshTime: '60' + failTaskIfBuildsNotSuccessful: true + cancelBuildsIfAnyFails: false + treatPartiallySucceededBuildAsSuccessful: false + downloadBuildArtifacts: false + storeInEnvironmentVariable: false + templateParameters: 'prid: $(System.PullRequest.PullRequestNumber)' + authenticationMethod: 'Personal Access Token' + password: '$(PAT)' + enableBuildInQueueCondition: false + dependentOnSuccessfulBuildCondition: false + dependentOnFailedBuildCondition: false + checkbuildsoncurrentbranch: false + failTaskIfConditionsAreNotFulfilled: false - stage: Build pool: sonicbld diff --git a/files/image_config/constants/constants.yml b/files/image_config/constants/constants.yml index 86179aee430e..1380835db680 100644 --- a/files/image_config/constants/constants.yml +++ b/files/image_config/constants/constants.yml @@ -2,6 +2,7 @@ constants: deployment_id_asn_map: "1" : 65432 "2" : 65433 + "3" : "HH" bgp: traffic_shift_community: 12345:12345 families: