Downloads findconnectedport for Universal Package

This commit is contained in:
Matt Schulte 2019-04-17 12:52:54 -07:00 коммит произвёл Matt Schulte
Родитель 3d317db60c
Коммит 26f2e6d38d
1 изменённых файлов: 19 добавлений и 6 удалений

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

@ -448,6 +448,19 @@ jobs:
vstsPackageVersion: "1.0.1"
downloadDirectory: "$(System.ArtifactsDirectory)/depthengineplugin"
- task: UniversalPackages@0
displayName: 'Download findconnectedport'
inputs:
command: download
vstsFeed: 'analog.ai.depthcamera'
vstsFeedPackage: 'findconnectedport'
vstsPackageVersion: "0.1.1"
downloadDirectory: "$(System.ArtifactsDirectory)/findconnectedport"
- script: 'chmod +x $(System.ArtifactsDirectory)/findconnectedport/linux/*'
workingDirectory: '$(System.ArtifactsDirectory)'
displayName: 'Add execution property to findconnectedport'
- task: CopyFiles@2
displayName: "Copy DepthEnginePlugin into LD_LIBRARY_PATH"
inputs:
@ -478,10 +491,10 @@ jobs:
workingDirectory: '$(System.ArtifactsDirectory)'
displayName: 'Prevent the USB connector from accidentally being reset'
# The binary is built from https://microsoft.visualstudio.com/Analog/_git/systems.rustyhmdkit
# Wait a little bit so the device can enumerate, 3 seconds has seemed good.
- script: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/findconnectedport && sleep 3'
workingDirectory: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/'
# The binary is built from https://microsoft.visualstudio.com/Analog/_git/systems.rustyhmdkit
# Wait a little bit so the device can enumerate, 3 seconds has seemed good.
- script: '$(System.ArtifactsDirectory)/findconnectedport/linux/findconnectedport && sleep 3'
workingDirectory: '$(System.ArtifactsDirectory)/findconnectedport/linux/'
displayName: 'Reset K4A Device'
- script: './x86_64-linux-clang-relwithdebinfo/bin/enumerate_devices'
@ -500,6 +513,6 @@ jobs:
continueOnError: true
# The binary is built from https://microsoft.visualstudio.com/Analog/_git/systems.rustyhmdkit
- script: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/findconnectedport'
workingDirectory: '$(Agent.HomeDirectory)/bin/findconnectedport-linux/'
- script: '$(System.ArtifactsDirectory)/findconnectedport/linux/findconnectedport'
workingDirectory: '$(System.ArtifactsDirectory)/findconnectedport/linux/'
displayName: 'Reset K4A Device'