Update yaml file to delete files
This commit is contained in:
Родитель
83a3e051ab
Коммит
2f191e7859
|
@ -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()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче