From 08ca4d8889fc386b49863ebc6a788ef9c5acbc62 Mon Sep 17 00:00:00 2001 From: Chris McCarthy Date: Wed, 26 Jun 2024 10:50:05 +0100 Subject: [PATCH] #2648 - now testing the release benchmark auto commit and push --- .azure/azure-benchmark-pipeline.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 06ef72a4..5d84fc8c 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -3,7 +3,7 @@ trigger: exclude: - '*' include: - - 'refs/heads/release/*' # Trigger on creation of release branches + - feature/2648_Automate-the-benchmarking-process # Trigger on creation of release branches schedules: - cron: "0 2 * * 1-5" # Run at 2 AM every weekday @@ -60,7 +60,7 @@ steps: git config --global user.name "Defence Science and Technology Laboratory UK" workingDirectory: $(System.DefaultWorkingDirectory) displayName: 'Configure Git' - condition: and(succeeded(), eq(variables['Build.Reason'], 'Manual'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) + condition: and(succeeded(), eq(variables['Build.Reason'], 'Manual'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/2648_Automate-the-benchmarking-process')) - script: | git add benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)/* @@ -70,7 +70,7 @@ steps: workingDirectory: $(System.DefaultWorkingDirectory) env: GIT_CREDENTIALS: $(System.AccessToken) - condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/2648_Automate-the-benchmarking-process')) - script: | ls benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)