Created
December 7, 2019 02:11
-
-
Save LanceMcCarthy/38e31db561fe939952947c49ccee93c8 to your computer and use it in GitHub Desktop.
YAML for Release Pipeline Copy To Azure Blob
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
steps: | |
- task: AzureFileCopy@2 | |
displayName: 'AzureBlob File Copy' | |
inputs: | |
SourcePath: '$(System.DefaultWorkingDirectory)/YOUR_DROP_FILES/drop/' | |
azureSubscription: 'YOUR_AZURE_SERVICE_CONNECTION' (use release pipeline task pickers to help and authenticate) | |
Destination: AzureBlob | |
storage: NAME_OF_AZURE_STORAGE_ACCOUNT (use release pipeline task pickers to help) | |
ContainerName: 'YOUR_BLOB_NAME' (find this in Azure, or use desktop Azure Storage Explorer to help) | |
AdditionalArgumentsForBlobCopy: '/Pattern:*.zip' (IMPORTANT!!! It seems to fail unless you set a folder as SoucePath and use a pattern to match the file extension. Or use *.* if you want all files copied into folder) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment