Open v-jiaodi opened 3 months ago
@vhvb1989 can you triage this?
the pipeline definition uses:
- task: JavaToolInstaller@0
inputs:
versionSpec: '17'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
By using jdkSourceOption: 'PreInstalled'
, it relies on JAVA SDK to be already pre-installed on the agent, which is the case for Microsoft-hosted agents
(https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/java-tool-installer-v0?view=azure-pipelines#inputs)
It looks like the agent, in this case, doesn't have a pre-install JAVA sdk.
@v-jiaodi , can you show the output from JavaToolInstaller?:
Note: This is not azd or template's issue. This looks like an issue with the Azure DevOps instace configuration.
@vhvb1989 Output from JavaToolInstaller:
We also encountered the same problem in this manual test.
Environment:
@rajeshkamal5050 In the latest round of azd manual testing (1.9.2), this issue still exists.
Describe the issue: Test![image](https://github.com/Azure/azure-dev/assets/80496810/ab1fcccf-5d41-4a80-b5f3-4825c9ac707e)
todo-java-mongo
template. Runazd pipeline config --provider azdo
, get error as follow:Repro Steps:
azd auth login
.azd init -t todo-java-mongo -b staging
.azd pipeline config --provider azdo
.Environment:
Expected behavior: Run
azd pipeline config --provider azdo
, pipeline log can pass.@rajeshkamal5050 for notification.