From f66fe20408a1e3046f805083c5ff129f0f4da251 Mon Sep 17 00:00:00 2001 From: shilongliu Date: Tue, 11 Jan 2022 16:17:31 +0800 Subject: [PATCH 1/3] test --- .azure-pipelines/code-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/code-merge.yml b/.azure-pipelines/code-merge.yml index ad57e8f432..e2c2bfcf16 100644 --- a/.azure-pipelines/code-merge.yml +++ b/.azure-pipelines/code-merge.yml @@ -49,7 +49,7 @@ steps: else git tag ${post_tag} || { FAILED="${FAILED} ${base_branch}"; continue; } fi - git push origin ${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } + git push https://$(PAT)/@github.com/azure/sonic-buildimage-msft ${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } done if [[ ${FAILED} != "" ]];then From d6782a9880d9e576115b621993679a842838deba Mon Sep 17 00:00:00 2001 From: shilongliu Date: Tue, 11 Jan 2022 16:19:59 +0800 Subject: [PATCH 2/3] fix --- .azure-pipelines/code-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/code-merge.yml b/.azure-pipelines/code-merge.yml index e2c2bfcf16..0ff0d16fa8 100644 --- a/.azure-pipelines/code-merge.yml +++ b/.azure-pipelines/code-merge.yml @@ -49,7 +49,7 @@ steps: else git tag ${post_tag} || { FAILED="${FAILED} ${base_branch}"; continue; } fi - git push https://$(PAT)/@github.com/azure/sonic-buildimage-msft ${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } + git push https://$(PAT)@github.com/azure/sonic-buildimage-msft ${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } done if [[ ${FAILED} != "" ]];then From b7f580a3ffe9cdec4449ce37e33c6a94f048c42c Mon Sep 17 00:00:00 2001 From: shilongliu Date: Tue, 11 Jan 2022 16:39:12 +0800 Subject: [PATCH 3/3] fix --- .azure-pipelines/code-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/code-merge.yml b/.azure-pipelines/code-merge.yml index 0ff0d16fa8..0142741ace 100644 --- a/.azure-pipelines/code-merge.yml +++ b/.azure-pipelines/code-merge.yml @@ -49,7 +49,7 @@ steps: else git tag ${post_tag} || { FAILED="${FAILED} ${base_branch}"; continue; } fi - git push https://$(PAT)@github.com/azure/sonic-buildimage-msft ${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } + git push https://$(PAT)@github.com/Azure/sonic-buildimage-msft.git HEAD:${base_branch} || { FAILED="${FAILED} ${base_branch}"; continue; } done if [[ ${FAILED} != "" ]];then