From c6ba5107ef72aff1a14b9d499040e59468d2b95b Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Fri, 20 Dec 2024 11:58:24 +0800 Subject: [PATCH] Init --- azure-pipelines.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e0df42e5567..827a280a1d7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ trigger: include: - '*' exclude: - - 'release' + - 'release*' pr: branches: @@ -210,7 +210,7 @@ jobs: artifactName: metadata - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) @@ -254,7 +254,7 @@ jobs: artifactName: metadata - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) @@ -444,7 +444,7 @@ jobs: versionSpec: 3.12 - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) @@ -732,7 +732,7 @@ jobs: displayName: Install Docker - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) @@ -828,7 +828,7 @@ jobs: - bash: ./scripts/ci/install_docker.sh displayName: Install Docker - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS) @@ -950,7 +950,7 @@ jobs: - bash: ./scripts/ci/install_docker.sh displayName: Install Docker - task: PipAuthenticate@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/release') + condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release') displayName: 'Pip Authenticate' inputs: artifactFeeds: $(AZURE_ARTIFACTS_FEEDS)