Skip to content

Commit 2673625

Browse files
authored
Merge pull request #277 from microsoftgraph/bugfix/download-artifacts
pipelines - adds a download artifacts stage
2 parents 87674d2 + e02c922 commit 2673625

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.azure-pipelines/buildAndPackage.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ stages:
5656
runOnce:
5757
deploy:
5858
steps:
59-
- template: templates/install-java.yml
59+
- template: templates/download-artifacts.yml
60+
- template: templates/install-java.yml
6061
- template: templates/secure-files.yml
6162
- template: templates/copy-and-build.yml
6263
parameters:
@@ -74,6 +75,7 @@ stages:
7475
runOnce:
7576
deploy:
7677
steps:
78+
- template: templates/download-artifacts.yml
7779
- template: templates/install-java.yml
7880
- template: templates/secure-files.yml
7981
parameters:
@@ -91,7 +93,7 @@ stages:
9193
runOnce:
9294
deploy:
9395
steps:
94-
- template: templates/install-java.yml
96+
- template: templates/download-artifacts.yml
9597
- template: templates/version-and-release.yml
9698
parameters:
9799
gitConnection: 'microsoftgraphrelease'

.azure-pipelines/templates/copy-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212

1313
- task: Gradle@2
1414
inputs:
15-
gradleWrapperFile: $(Agent.BuildDirectory)/Drop/gradlew'
15+
gradleWrapperFile: $(Agent.BuildDirectory)/Drop/gradlew
1616
workingDirectory: '$(Agent.BuildDirectory)/Drop/'
1717
options: '-x jar -x javadoc -x javadocJar -x compileJava -x processResources -x classes -x sourceJar'
1818
tasks: ${{ parameters.task }}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- download: none
3+
- task: DownloadPipelineArtifact@2
4+
inputs:
5+
source: current
6+
artifact: Drop
7+
path: '$(Agent.BuildDirectory)/Drop/'
8+
patterns: |
9+
**
10+
*

0 commit comments

Comments
 (0)