зеркало из
1
0
Форкнуть 0

Update yaml file to delete files

This commit is contained in:
jebrando 2018-10-25 10:06:00 -07:00
Родитель 83a3e051ab
Коммит 2f191e7859
1 изменённых файлов: 4 добавлений и 5 удалений

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

@ -5,15 +5,14 @@ resources:
phases: phases:
- phase: linux - phase: linux
variables: variables:
_PREVIEW_VSTS_DOCKER_IMAGE: "aziotbld/linux-c-ubuntu-16.04:latest" _PREVIEW_VSTS_DOCKER_IMAGE: "aziotbld/vsts-linux-c-ubuntu"
queue: aziotbld-lin01 queue: aziotbld-lin01
displayName: 'analysis' displayName: 'analysis'
steps: steps:
- script: 'sudo ./script/execute_analysis.sh' - script: 'sudo ./script/execute_analysis.sh'
displayName: 'Analysis Run'
env: env:
IOTHUB_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING) IOTHUB_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING)
- task: DeleteFiles@1 - script: sudo rm -rf $(Agent.BuildDirectory)/*
displayName: 'Delete files from $(Agent.BuildDirectory)' displayName: 'cleanup'
inputs:
SourceFolder: '$(Agent.BuildDirectory)'
condition: always() condition: always()