#2648 - now testing the release benchmark auto commit and push

This commit is contained in:
Chris McCarthy
2024-06-26 10:50:05 +01:00
parent 112f116a89
commit 08ca4d8889

View File

@@ -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)