Update pipeline to include annotation lib folder

This commit is contained in:
Shreyas Gopalakrishna 2022-04-07 15:44:22 -05:00 коммит произвёл Shreyas Gopalakrishna
Родитель 2c26713794
Коммит 13a588d5a8
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -73,4 +73,4 @@ jobs:
ConfluentCloudPassword: $(ConfluentCloudPassword)
AzureWebJobsEventGridOutputBindingTopicUriString: $(AzureWebJobsEventGridOutputBindingTopicUriString)
AzureWebJobsEventGridOutputBindingTopicKeyString: $(AzureWebJobsEventGridOutputBindingTopicKeyString)
displayName: 'Build & Run tests for java 8'
displayName: 'Build & Run tests for java 8'

Просмотреть файл

@ -98,6 +98,7 @@ Write-Host "Replacing Java worker binaries in the Core Tools..."
Get-ChildItem -Path "./azure-functions-java-worker/target/*" -Include 'azure*' -Exclude '*shaded.jar','*tests.jar' | ForEach-Object {
Copy-Item $_.FullName "./Azure.Functions.Cli/workers/java/azure-functions-java-worker.jar" -Force -Verbose
}
Copy-Item -Path "./azure-functions-java-worker/annotationLib" -Destination "./Azure.Functions.Cli/workers/java/annotationLib" -Recurse -Verbose
Copy-Item -Path ".\Azure.Functions.Cli" -Destination ".\azure-functions-java-worker\Azure.Functions.Cli" -Recurse
# Updating end to end tests with the new library