use of com.microsoft.azure.management.appservice.FunctionApp in project azure-gradle-plugins by lenala.
the class MSDeployArtifactHandlerImpl method publish.
@Override
public void publish() throws Exception {
final File zipPackage = createZipPackage();
final FunctionApp app = functionsTask.getFunctionApp();
functionsTask.getLogger().quiet("FunctionApp " + app);
final CloudStorageAccount storageAccount = getCloudStorageAccount(app);
final String blobName = getBlobName();
final String packageUri = uploadPackageToAzureStorage(zipPackage, storageAccount, blobName);
deployWithPackageUri(app, packageUri, () -> deletePackageFromAzureStorage(storageAccount, blobName));
}
Aggregations