@@ -20,13 +20,13 @@ export class BlobService {
2020
2121 public async uploadBlobs ( source : string , container : string , prefixFolderPath ?: string , itemPattern ?: string ) : Promise < string [ ] > {
2222 var fileProvider = new artifactProviders . FilesystemProvider ( source ) ;
23- var azureProvider = new azureBlobProvider . AzureBlobProvider ( this . _storageAccountName , container , this . _storageAccessKey , prefixFolderPath , this . _host , false , this . _useCredential , this . _endpoint ) ;
23+ var azureProvider = new azureBlobProvider . AzureBlobProvider ( this . _storageAccountName , container , this . _storageAccessKey , prefixFolderPath , this . _host , false , this . _useCredential , this . _endpoint ) ;
2424 var processor = new artifactProcessor . ArtifactEngine ( ) ;
2525 var processorOptions = new artifactProcessor . ArtifactEngineOptions ( ) ;
2626 if ( itemPattern ) {
2727 processorOptions . itemPattern = itemPattern ;
2828 }
29-
29+
3030 var uploadedItemTickets = await processor . processItems ( fileProvider , azureProvider ) ;
3131 var uploadedUrls : string [ ] = [ ] ;
3232 uploadedItemTickets . forEach ( ( ticket : models . ArtifactDownloadTicket ) => {
@@ -40,7 +40,7 @@ export class BlobService {
4040
4141 public async downloadBlobs ( destination : string , container : string , prefixFolderPath ?: string , itemPattern ?: string , addPrefixToDownloadedItems ?: boolean ) : Promise < void > {
4242 var fileProvider = new artifactProviders . FilesystemProvider ( destination ) ;
43- var azureProvider = new azureBlobProvider . AzureBlobProvider ( this . _storageAccountName , container , this . _storageAccessKey , prefixFolderPath , this . _host , ! ! addPrefixToDownloadedItems , this . _useCredential ) ;
43+ var azureProvider = new azureBlobProvider . AzureBlobProvider ( this . _storageAccountName , container , this . _storageAccessKey , prefixFolderPath , this . _host , ! ! addPrefixToDownloadedItems , this . _useCredential , this . _endpoint ) ;
4444 var processor = new artifactProcessor . ArtifactEngine ( ) ;
4545 var processorOptions = new artifactProcessor . ArtifactEngineOptions ( ) ;
4646 if ( itemPattern ) {
0 commit comments