Skip to content

Commit 6981ee1

Browse files
committed
Fix job and artifact names
1 parent 7c66ad9 commit 6981ee1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
displayName: 'Test docs.rs'
3333
3434
35-
- job: release_build
35+
- job: release
3636
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
3737
pool:
3838
vmImage: 'Ubuntu 16.04'
@@ -62,14 +62,14 @@ jobs:
6262
displayName: 'Copy build'
6363
- task: PublishBuildArtifacts@1
6464
inputs:
65-
artifactName: $(containerResource)
65+
artifactName: docsrs-$(containerResource)-$(Build.SourceVersion)_amd64
6666
displayName: 'Upload artifacts'
6767

6868

6969
- job: deploy
7070
dependsOn:
7171
- test
72-
- release_build
72+
- release
7373
condition: succeeded()
7474
pool:
7575
vmImage: 'Ubuntu 16.04'
@@ -78,11 +78,11 @@ jobs:
7878
- checkout: none
7979
- task: DownloadBuildArtifacts@0
8080
inputs:
81-
artifactName: debian-jessie
81+
artifactName: docsrs-debian-jessie-$(Build.SourceVersion)_amd64
8282
downloadPath: $(System.DefaultWorkingDirectory)
8383
- task: DownloadBuildArtifacts@0
8484
inputs:
85-
artifactName: debian-stretch
85+
artifactName: docsrs-debian-stretch-$(Build.SourceVersion)_amd64
8686
downloadPath: $(System.DefaultWorkingDirectory)
8787
- task: DownloadSecureFile@1
8888
inputs:

0 commit comments

Comments
 (0)