Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaToolInstaller task cannot get JDK file from network share #13006

Closed
sdobrodeev opened this issue May 27, 2020 · 0 comments · Fixed by #13237
Closed

JavaToolInstaller task cannot get JDK file from network share #13006

sdobrodeev opened this issue May 27, 2020 · 0 comments · Fixed by #13237
Assignees
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug Task: JavaToolInstaller

Comments

@sdobrodeev
Copy link

Question, Bug, or Feature?
Type: Bug

Enter Task Name: JavaToolInstaller task cannot get JDK file from network share

Environment

  • Server - Azure Pipelines
  • Agent - Private: (Windows, 2.153.1 )

Issue description (Steps to reproduce:)
Create and run pipelne containing JavaToolInstaller task call using network path as jdkFile parameter value:
For example:

- task: JavaToolInstaller@0
  inputs:
    versionSpec: '8'
    jdkArchitectureOption: 'x64'
    jdkSourceOption: 'LocalDirectory'
    jdkFile: \\$(fileShareServer)\ToolInstallationsForAzureDevOps
    jdkDestinationDirectory: '$(Build.ArtifactStagingDirectory)\java'
    cleanDestinationDirectory: false

Expected:
Java is installed from the archive located on the remote server

Actual:
We get the following error

Retrieving the JDK from local path.
Creating destination folder: C:\java
##[error]UNKNOWN: unknown error, stat '\\server\server-jre-8u231-windows-x64.tar.gz'
##[error]UNKNOWN: unknown error, stat '\\server\server-jre-8u231-windows-x64.tar.gz'
##[section]Finishing: JavaToolInstaller
@damccorm damccorm added Area: ABTT Akvelon Build Tasks Team area of work and removed route labels Jun 1, 2020
@sdobrodeev sdobrodeev linked a pull request Jul 7, 2020 that will close this issue
2 tasks
@sdobrodeev sdobrodeev added the awaiting deployment Related changes are waiting for deployment to be completed label Jul 13, 2020
@sdobrodeev sdobrodeev removed the awaiting deployment Related changes are waiting for deployment to be completed label Jul 27, 2020
@anatolybolshakov anatolybolshakov added awaiting deployment Related changes are waiting for deployment to be completed Task: JavaToolInstaller labels Jul 27, 2020
@sdobrodeev sdobrodeev removed the awaiting deployment Related changes are waiting for deployment to be completed label Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug Task: JavaToolInstaller
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants