azure-functions-java-worker/tools
Kaibo Cai 0650f6fb89 work libs removed and update build pipeline,remove appveyor 2021-09-21 17:03:13 -05:00
..
.images Add contributor.md guide to Java Azure function 2021-01-21 15:48:06 -08:00
scripts continuous testing 2021-02-25 14:57:38 -08:00
AzureFunctionsJavaWorker.nuspec Update version (#238) 2018-11-09 05:26:48 -08:00
README.md work libs removed and update build pipeline,remove appveyor 2021-09-21 17:03:13 -05:00

README.md

Build and publishing

In order for the Java Worker to get loaded into the runtime, today we use a NuGet to package the jars for deployment.

Azure Pipelines

We're using Azure Pipelines for CI. It builds the Java Core and Worker modules and then packages them into a NuGet for consumption by the Azure Functions Script Host.

CI runs on every PR and nightly on 'dev' and 'v3.x' branches.

Local

To produce the build results locally, be sure you have Java, Maven, and NuGet installed.

mvn clean install -DskipTests
mkdir pkg
Get-ChildItem -Path .\azure-functions-java-worker\target\* -Include 'azure*' -Exclude '*shaded.jar' | %{ Copy-Item $_.FullName .\pkg\azure-functions-java-worker.jar }
nuget pack ./tools/AzureFunctionsJavaWorker.nuspec -Properties versionsuffix=LOCAL

This result in a .nupkg file which you can use for adhoc testing.