fix build number

This commit is contained in:
Maxim Lobanov
2020-10-19 09:18:41 +03:00
parent 941243a186
commit 52ce3618d5
5 changed files with 5 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ jobs:
- group: Mac-Cloud Image Generation
- group: Mac-Cloud Image Generation Key Vault
- name: VirtualMachineName
value: $(Build.BuildNumber).$(System.JobAttempt)
value: ${{ parameters.image_label }}_$(date:yyyyMMdd)$(rev:.r)_unstable.$(System.JobAttempt)
steps:
- bash: |

View File

@@ -1,4 +1,3 @@
name: macOS-10.13_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
@@ -17,7 +16,7 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS High Sierra'
image_label: 'macOS-10.13'
base_image_name: 'clean-macOS-10.13.6-380Gb-SIPoff_runner'
template_path: 'templates/macOS-10.13.json'
target_datastore: 'ds-image'

View File

@@ -1,4 +1,3 @@
name: macOS-10.14_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
@@ -17,7 +16,7 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Mojave'
image_label: 'macOS-10.14'
base_image_name: 'clean-macOS-10.14-380Gb_runner'
template_path: 'templates/macOS-10.14.json'
target_datastore: 'ds-image'

View File

@@ -1,4 +1,3 @@
name: macOS-10.15_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
@@ -17,7 +16,7 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Catalina'
image_label: 'macOS-10.15'
base_image_name: 'clean-macOS-10.15-380Gb-runner'
template_path: 'templates/macOS-10.15.json'
target_datastore: 'ds-image'

View File

@@ -1,4 +1,3 @@
name: macOS-11.0_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
@@ -17,7 +16,7 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Big Sur'
image_label: 'macOS-11.0'
base_image_name: 'clean-macOS-11.0-380Gb-runner'
template_path: 'templates/macOS-11.0.json'
target_datastore: 'ds-image'