Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: olympus-common # Alias for the first repository
|
||||||
|
type: git
|
||||||
|
name: Olympus/olympus-common # Project and repository name
|
||||||
|
ref: master
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
dockerRegistryServiceConnection: 'docker-registry-olympus'
|
dockerRegistryServiceConnection: 'docker-registry-olympus'
|
||||||
imageName: 'apollo'
|
imageName: 'apollo'
|
||||||
@@ -17,6 +24,7 @@ stages:
|
|||||||
name: azureselfhosted
|
name: azureselfhosted
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
|
- checkout: olympus-common
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
echo "##vso[task.setvariable variable=shortCommitSha]$(echo $(Build.SourceVersion) | cut -c1-8)"
|
echo "##vso[task.setvariable variable=shortCommitSha]$(echo $(Build.SourceVersion) | cut -c1-8)"
|
||||||
|
|||||||
Reference in New Issue
Block a user