From 58cad688e869f3e962a64419a271e6a92319eb33 Mon Sep 17 00:00:00 2001 From: David Justo Date: Wed, 16 Oct 2024 15:55:48 -0700 Subject: [PATCH] build java smoke test on build pipeline (#2941) --- eng/templates/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eng/templates/build.yml b/eng/templates/build.yml index 3e3e41040..c68e0d44d 100644 --- a/eng/templates/build.yml +++ b/eng/templates/build.yml @@ -124,3 +124,14 @@ jobs: SourceFolder: '$(System.DefaultWorkingDirectory)/test/PerfTests/DFPerfTests/Output/' Contents: '**' TargetFolder: '$(System.DefaultWorkingDirectory)/azure-functions-durable-extension/' + + # We also need to build the Java smoke test, for CodeQL compliance + # We don't need to build the other smoke tests, because they can be analyzed without being compiled, + # as they're interpreted languages. + # This could be a separate pipeline, but the task is so small that it's paired with the .NET code build + # for convenience. + - pwsh: | + cd ./test/SmokeTests/OOProcSmokeTests/durableJava/ + gradle build + ls + displayName: 'Build Java OOProc test (for CodeQL compliance)' \ No newline at end of file