Last active
January 10, 2020 19:51
-
-
Save TsuyoshiUshio/517aac0e48cc9d3018e1db6e18ead738 to your computer and use it in GitHub Desktop.
Child.CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resources: | |
| pipelines: | |
| - pipeline: parent | |
| source: Parent.CI | |
| trigger: | |
| branches: | |
| - master | |
| trigger: none | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| steps: | |
| - script: 'env | sort' | |
| displayName: "echo Environment Variables" | |
| - task: DownloadBuildArtifacts@0 | |
| displayName: 'Download variables' | |
| inputs: | |
| buildType: 'specific' | |
| project: '<YOUR_PROJECT_ID_HERE>' | |
| pipeline: '229' | |
| buildVersionToDownload: 'latest' | |
| downloadType: 'specific' | |
| downloadPath: '$(System.ArtifactsDirectory)' | |
| - script: cat $(System.ArtifactsDirectory)/variables/pipeline.env | |
| displayName: 'Restore Enviornment Variables' | |
| - script: echo "FOO:$(FOO)" | |
| displayName: 'echo envrionemtn variables' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment