@@ -1560,7 +1560,7 @@ stages:
1560
1560
jobs :
1561
1561
- template : steps/update-github-status-jobs.yml
1562
1562
parameters :
1563
- jobs : [standalone, multi_version, merge ]
1563
+ jobs : [standalone, multi_version]
1564
1564
1565
1565
- job : standalone
1566
1566
timeoutInMinutes : 60 # default value
@@ -1579,7 +1579,7 @@ stages:
1579
1579
1580
1580
- publish : $(outputDir)/bin
1581
1581
displayName : Upload artifact samples (bin only)
1582
- artifact : samples-bin- standalone
1582
+ artifact : samples-standalone
1583
1583
1584
1584
- publish : artifacts/build_data
1585
1585
displayName : Uploading logs
@@ -1624,7 +1624,7 @@ stages:
1624
1624
retryCountOnTaskFailure : 1
1625
1625
1626
1626
- publish : $(outputDir)/publish
1627
- displayName : Upload artifact samples (bin only)
1627
+ displayName : Upload artifact samples (publish only)
1628
1628
artifact : samples-multi-version-$(framework)
1629
1629
1630
1630
- publish : artifacts/build_data
@@ -1633,91 +1633,6 @@ stages:
1633
1633
condition : failed()
1634
1634
continueOnError : true
1635
1635
1636
- - job : merge
1637
- dependsOn : [ standalone, multi_version ]
1638
- timeoutInMinutes : 60 # default value
1639
- pool :
1640
- name : azure-windows-scale-set-3
1641
- steps :
1642
- - checkout : none
1643
- - powershell : |
1644
- mkdir $(Build.ArtifactStagingDirectory)/bin
1645
- mkdir $(Build.ArtifactStagingDirectory)/publish
1646
-
1647
- - task : DownloadPipelineArtifact@2
1648
- displayName : Download samples
1649
- inputs :
1650
- artifact : samples-bin-standalone
1651
- path : $(Build.ArtifactStagingDirectory)/bin
1652
- retryCountOnTaskFailure : 5
1653
-
1654
- - task : DownloadPipelineArtifact@2
1655
- displayName : Download samples
1656
- inputs :
1657
- artifact : samples-multi-version-net462
1658
- path : $(Build.ArtifactStagingDirectory)/publish
1659
- retryCountOnTaskFailure : 5
1660
-
1661
- - task : DownloadPipelineArtifact@2
1662
- displayName : Download samples
1663
- inputs :
1664
- artifact : samples-multi-version-netcoreapp2.1
1665
- path : $(Build.ArtifactStagingDirectory)/publish
1666
- retryCountOnTaskFailure : 5
1667
-
1668
- - task : DownloadPipelineArtifact@2
1669
- displayName : Download samples
1670
- inputs :
1671
- artifact : samples-multi-version-netcoreapp3.0
1672
- path : $(Build.ArtifactStagingDirectory)/publish
1673
- retryCountOnTaskFailure : 5
1674
-
1675
- - task : DownloadPipelineArtifact@2
1676
- displayName : Download samples
1677
- inputs :
1678
- artifact : samples-multi-version-netcoreapp3.1
1679
- path : $(Build.ArtifactStagingDirectory)/publish
1680
- retryCountOnTaskFailure : 5
1681
-
1682
- - task : DownloadPipelineArtifact@2
1683
- displayName : Download samples
1684
- inputs :
1685
- artifact : samples-multi-version-net5.0
1686
- path : $(Build.ArtifactStagingDirectory)/publish
1687
- retryCountOnTaskFailure : 5
1688
-
1689
- - task : DownloadPipelineArtifact@2
1690
- displayName : Download samples
1691
- inputs :
1692
- artifact : samples-multi-version-net6.0
1693
- path : $(Build.ArtifactStagingDirectory)/publish
1694
- retryCountOnTaskFailure : 5
1695
-
1696
- - task : DownloadPipelineArtifact@2
1697
- displayName : Download samples
1698
- inputs :
1699
- artifact : samples-multi-version-net7.0
1700
- path : $(Build.ArtifactStagingDirectory)/publish
1701
- retryCountOnTaskFailure : 5
1702
-
1703
- - task : DownloadPipelineArtifact@2
1704
- displayName : Download samples
1705
- inputs :
1706
- artifact : samples-multi-version-net8.0
1707
- path : $(Build.ArtifactStagingDirectory)/publish
1708
- retryCountOnTaskFailure : 5
1709
-
1710
- - task : DownloadPipelineArtifact@2
1711
- displayName : Download samples
1712
- inputs :
1713
- artifact : samples-multi-version-net9.0
1714
- path : $(Build.ArtifactStagingDirectory)/publish
1715
- retryCountOnTaskFailure : 5
1716
-
1717
- - publish : $(Build.ArtifactStagingDirectory)
1718
- displayName : Upload artifact samples
1719
- artifact : samples
1720
-
1721
1636
# This is just to test that we _can_ build the solution on macos
1722
1637
# It's not used by other stages, and just ensures we don't break the macos build
1723
1638
- stage : build_samples_macos
@@ -1779,12 +1694,7 @@ stages:
1779
1694
parameters :
1780
1695
includeX86 : true
1781
1696
- template : steps/restore-working-directory.yml
1782
- - task : DownloadPipelineArtifact@2
1783
- displayName : Download samples
1784
- inputs :
1785
- artifact : samples
1786
- path : $(outputDir)
1787
- retryCountOnTaskFailure : 5
1697
+ - template : steps/download-samples.yml
1788
1698
1789
1699
# Cosmos is _way_ to flaky at the moment. Try enabling again at a later time
1790
1700
# - powershell: |
@@ -2337,12 +2247,9 @@ stages:
2337
2247
- template : steps/restore-working-directory.yml
2338
2248
parameters :
2339
2249
artifact : build-$(artifactSuffix)-working-directory
2340
- - task : DownloadPipelineArtifact@2
2341
- displayName : Download samples
2342
- inputs :
2343
- artifact : samples
2344
- path : $(outputDir)
2345
- retryCountOnTaskFailure : 5
2250
+ - template : steps/download-samples.yml
2251
+ parameters :
2252
+ framework : $(publishTargetFramework)
2346
2253
2347
2254
# when we build samples separately, we could run this step and the docker-compose one below in //
2348
2255
# (currently the docker-compose step relies on serverless samples)
@@ -2421,12 +2328,9 @@ stages:
2421
2328
- template : steps/restore-working-directory.yml
2422
2329
parameters :
2423
2330
artifact : build-$(artifactSuffix)-working-directory
2424
- - task : DownloadPipelineArtifact@2
2425
- displayName : Download samples
2426
- inputs :
2427
- artifact : samples
2428
- path : $(outputDir)
2429
- retryCountOnTaskFailure : 5
2331
+ - template : steps/download-samples.yml
2332
+ parameters :
2333
+ framework : $(publishTargetFramework)
2430
2334
2431
2335
# when we build samples separately, we could run this step and the docker-compose one below in //
2432
2336
# (currently the docker-compose step relies on serverless samples)
@@ -2544,12 +2448,9 @@ stages:
2544
2448
inputs :
2545
2449
artifact : linux-monitoring-home-$(artifactSuffix)
2546
2450
path : $(monitoringHome)
2547
- - task : DownloadPipelineArtifact@2
2548
- displayName : Download samples
2549
- inputs :
2550
- artifact : samples
2551
- path : $(outputDir)
2552
- retryCountOnTaskFailure : 5
2451
+ - template : steps/download-samples.yml
2452
+ parameters :
2453
+ framework : $(publishTargetFramework)
2553
2454
2554
2455
- template : steps/run-in-docker.yml
2555
2456
parameters :
@@ -3145,12 +3046,9 @@ stages:
3145
3046
parameters :
3146
3047
artifact : build-$(artifactSuffix)-working-directory
3147
3048
3148
- - task : DownloadPipelineArtifact@2
3149
- displayName : Download samples
3150
- inputs :
3151
- artifact : samples
3152
- path : $(outputDir)
3153
- retryCountOnTaskFailure : 5
3049
+ - template : steps/download-samples.yml
3050
+ parameters :
3051
+ framework : $(publishTargetFramework)
3154
3052
3155
3053
- template : steps/run-in-docker.yml
3156
3054
parameters :
@@ -3223,12 +3121,9 @@ stages:
3223
3121
- template : steps/restore-working-directory.yml
3224
3122
parameters :
3225
3123
artifact : build-$(artifactSuffix)-working-directory
3226
- - task : DownloadPipelineArtifact@2
3227
- displayName : Download samples
3228
- inputs :
3229
- artifact : samples
3230
- path : $(outputDir)
3231
- retryCountOnTaskFailure : 5
3124
+ - template : steps/download-samples.yml
3125
+ parameters :
3126
+ framework : $(publishTargetFramework)
3232
3127
3233
3128
- template : steps/run-in-docker.yml
3234
3129
parameters :
0 commit comments