From 3e89b000b6dd4d5089842e0a935279773b4b13fd Mon Sep 17 00:00:00 2001 From: Louis Turmel Date: Sat, 11 Nov 2023 22:05:19 -0500 Subject: [PATCH 1/3] fix --- ci-vstsdashboardbuild.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci-vstsdashboardbuild.yml b/ci-vstsdashboardbuild.yml index c3499ab5..d8f05885 100644 --- a/ci-vstsdashboardbuild.yml +++ b/ci-vstsdashboardbuild.yml @@ -4,6 +4,8 @@ trigger: - master - Issue* - Delivery* +- feature/* +- dependatbot/* pr: - master From f87a53bee260eb907d894b38396a78f31f73ea27 Mon Sep 17 00:00:00 2001 From: Louis Turmel Date: Sat, 11 Nov 2023 22:09:38 -0500 Subject: [PATCH 2/3] update condition --- ci-vstsdashboardbuild.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci-vstsdashboardbuild.yml b/ci-vstsdashboardbuild.yml index d8f05885..13d69724 100644 --- a/ci-vstsdashboardbuild.yml +++ b/ci-vstsdashboardbuild.yml @@ -71,6 +71,15 @@ stages: - stage: ExpertaPrivatePreview dependsOn: Build + condition: and( + succeeded(), + or( + eq(variables['build.sourceBranch'], 'refs/heads/master') + , eq(variables['build.sourceBranch'], 'refs/heads/feature/*') + , eq(variables['build.sourceBranch'], 'refs/heads/Issue/*') + , eq(variables['build.sourceBranch'], 'refs/heads/Delivery/*') + ) + ) jobs: - deployment: DeployExtension pool: From 39b480673204071adebdf7f78288d69c2dc07c02 Mon Sep 17 00:00:00 2001 From: Louis Turmel Date: Sat, 11 Nov 2023 22:11:05 -0500 Subject: [PATCH 3/3] update --- ci-vstsdashboardbuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-vstsdashboardbuild.yml b/ci-vstsdashboardbuild.yml index 13d69724..c21800ea 100644 --- a/ci-vstsdashboardbuild.yml +++ b/ci-vstsdashboardbuild.yml @@ -76,7 +76,7 @@ stages: or( eq(variables['build.sourceBranch'], 'refs/heads/master') , eq(variables['build.sourceBranch'], 'refs/heads/feature/*') - , eq(variables['build.sourceBranch'], 'refs/heads/Issue/*') + , eq(variables['build.sourceBranch'], 'refs/heads/Issue*') , eq(variables['build.sourceBranch'], 'refs/heads/Delivery/*') ) )