We are running devops pipeline to build and deploy our Spring boot azure functions to azure portal. The devops pipeline runs successfully without any errors. However the functions on Azure doesn't show up. When deploying same code base from local VS Code, the functions are showing up on the portal.
Is this a known issue? Are we doing something wrong in the pipeline setup?
variables:
serviceConnectionToAzure: AzServiceConnection
appName: app_name
trigger:
- main
pool:
vmImage: ubuntu-16.04
steps:
- task: Maven@3
inputs:
mavenPomFile: "pom.xml"
publishJUnitResults: true
testResultsFiles: "**/surefire-reports/TEST-*.xml"
javaHomeOption: "JDKVersion"
jdkVersionOption: "1.11"
mavenVersionOption: "Default"
mavenAuthenticateFeed: false
effectivePomSkip: false
sonarQubeRunAnalysis: false
- task: PublishPipelineArtifact@1
inputs:
targetPath: "$(Pipeline.Workspace)"
publishLocation: "pipeline"
- task: AzureFunctionApp@1
displayName: Azure Function App deploy
inputs:
azureSubscription: 'Azure subscription 1 (xxxxx)'
appType: 'functionAppLinux'
appName: 'app_name'
package: '$(Pipeline.Workspace)'
runtimeStack: 'JAVA|11'