Skip to content

Commit

Permalink
bump-underscore-JenkinsDownloadArtifactsV1
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloAndriiesh committed Sep 16, 2022
1 parent 1192820 commit ff1d4fc
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 105 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as tl from 'azure-pipelines-task-lib/task';
import msRestAzure = require('azure-pipelines-tasks-azure-arm-rest/azure-arm-common');
import Model = require('azure-pipelines-tasks-azure-arm-rest/azureModels');
import armStorage = require('azure-pipelines-tasks-azure-arm-rest/azure-arm-storage');
import msRestAzure = require('azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-common');
import Model = require('azure-pipelines-tasks-azure-arm-rest-v2/azureModels');
import armStorage = require('azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-storage');
import BlobService = require('./blobservice');

export class AzureStorageArtifactDownloader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ process.env['ENDPOINT_DATA_ARM1_ENVIRONMENTAUTHORITYURL'] = 'dummyurl';
process.env['ENDPOINT_DATA_ARM1_ACTIVEDIRECTORYSERVICEENDPOINTRESOURCEID'] = 'dummyResourceId';
process.env['ENDPOINT_DATA_ARM1_SUBSCRIPTIONID'] = 'dummySubscriptionId';

tr.registerMock("azure-pipelines-tasks-azure-arm-rest/azure-arm-storage", {
tr.registerMock("azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-storage", {
StorageManagementClient: function (A, B) {
return {
storageAccounts: {
Expand Down Expand Up @@ -68,7 +68,7 @@ tr.registerMock("azure-pipelines-tasks-azure-arm-rest/azure-arm-storage", {
}
});

tr.registerMock("azure-pipelines-tasks-azure-arm-rest/azure-arm-common", {
tr.registerMock("azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-common", {
ApplicationTokenCredentials: function(A,B,C,D,E,F,G) {
return {};
}
Expand Down
Loading

0 comments on commit ff1d4fc

Please sign in to comment.