Skip to content

Latest commit

 

History

History

azure-adapter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Azure Functions

Packaging

This step uses the azure-functions-maven-plugin.

mvn -DappName=${FUNCTION_NAME} package com.microsoft.azure:azure-functions-maven-plugin:package

Deployment

While the azure-functions-maven-plugin contains a goal to deploy a function app, editing the pom.xml is required to make it work.

To keep the pom.xml agnostic to the provider:

  1. Create your function app resource.
  2. Set the SCM_DO_BUILD_DURING_DEPLOYMENT app setting to true.
  3. Use a zip deployment to deploy the files contained in target/azure-functions.

// TODO: add an example