aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-07-27 23:46:39 +0800
committer杨宇千 <crupest@outlook.com>2019-07-27 23:46:39 +0800
commitb0cf9be278e63fe5fece2f4f342783a46b048d68 (patch)
treeacbf0242661eadac20a20115dda0192357add2d5
parenta54bbc6e6770f0732d9403673dcc8c1997bc71ec (diff)
downloadtimeline-b0cf9be278e63fe5fece2f4f342783a46b048d68.tar.gz
timeline-b0cf9be278e63fe5fece2f4f342783a46b048d68.tar.bz2
timeline-b0cf9be278e63fe5fece2f4f342783a46b048d68.zip
CI: Remove dumplicated artifact download.
-rw-r--r--azure-pipelines.yml8
1 files changed, 1 insertions, 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