#2648 - now testing the release benchmark auto commit and push
This commit is contained in:
@@ -3,7 +3,7 @@ trigger:
|
|||||||
exclude:
|
exclude:
|
||||||
- '*'
|
- '*'
|
||||||
include:
|
include:
|
||||||
- 'refs/heads/release/*' # Trigger on creation of release branches
|
- feature/2648_Automate-the-benchmarking-process # Trigger on creation of release branches
|
||||||
|
|
||||||
schedules:
|
schedules:
|
||||||
- cron: "0 2 * * 1-5" # Run at 2 AM every weekday
|
- 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"
|
git config --global user.name "Defence Science and Technology Laboratory UK"
|
||||||
workingDirectory: $(System.DefaultWorkingDirectory)
|
workingDirectory: $(System.DefaultWorkingDirectory)
|
||||||
displayName: 'Configure Git'
|
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: |
|
- script: |
|
||||||
git add benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)/*
|
git add benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)/*
|
||||||
@@ -70,7 +70,7 @@ steps:
|
|||||||
workingDirectory: $(System.DefaultWorkingDirectory)
|
workingDirectory: $(System.DefaultWorkingDirectory)
|
||||||
env:
|
env:
|
||||||
GIT_CREDENTIALS: $(System.AccessToken)
|
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: |
|
- script: |
|
||||||
ls benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)
|
ls benchmark/results/v$(MAJOR_VERSION)/v$(VERSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user