Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user