From b0cf9be278e63fe5fece2f4f342783a46b048d68 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Sat, 27 Jul 2019 23:46:39 +0800 Subject: CI: Remove dumplicated artifact download. --- azure-pipelines.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c394bc67..b27b3112 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,15 +43,9 @@ stages: runOnce: deploy: steps: - - task: DownloadPipelineArtifact@2 - displayName: 'Download Pipeline Artifact' - inputs: - artifactName: timeline - path: '$(System.DefaultWorkingDirectory)/Timeline/' - - script: | rm -rf /var/timeline/* - cp -r $SYSTEM_DEFAULTWORKINGDIRECTORY/Timeline/. /var/timeline/ + cp -r $PIPELINE_WORKSPACE/timeline/. /var/timeline/ sudo systemctl restart timeline.service displayName: 'Command Line Script' failOnStderr: true -- cgit v1.2.3