Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
shamrao shinde, sumedh
2024-11-08 07:18:03 +00:00
parent cbdfd800b0
commit 28260a796e

View File

@@ -1,6 +1,13 @@
trigger:
- master
resources:
repositories:
- repository: olympus-common # Alias for the first repository
type: git
name: Olympus/olympus-common # Project and repository name
ref: master
variables:
dockerRegistryServiceConnection: 'docker-registry-olympus'
imageName: 'apollo'
@@ -17,6 +24,7 @@ stages:
name: azureselfhosted
steps:
- checkout: self
- checkout: olympus-common
- script: |
echo "##vso[task.setvariable variable=shortCommitSha]$(echo $(Build.SourceVersion) | cut -c1-8)"