Skip to content

Commit 7220fcc

Browse files
authored
Publish burndown report when it is generated (#924)
* Publish burndown report when it is generated * Update .vsts.pipelines/steps/publish-prebuilt-data-sh.yml based on review comment Co-Authored-By: dseefeld <Dan.Seefeldt@microsoft.com>
1 parent 4a909b6 commit 7220fcc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.vsts.pipelines/steps/publish-prebuilt-data-sh.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ steps:
1717
env:
1818
relativeBlobPath: ${{ parameters.relativeBlobPath }}
1919
condition: and(succeeded(), ne(variables['publish.blobStorage.accessToken'], ''), eq(variables['sb.tarball'], true))
20+
21+
- script: |
22+
set -x
23+
# Publish prebuilt data if burndown report was generated
24+
$(docker.run) $(docker.src.map) $(docker.src.work) $(imageName) ./build.sh \
25+
/t:PublishPrebuiltReportData \
26+
"/p:RelativeBlobPath=$relativeBlobPath" \
27+
/p:ContainerName=$(publish.blobStorage.container) \
28+
/p:AzureAccountName=$(publish.blobStorage.account) \
29+
/p:AzureAccessToken=$(publish.blobStorage.accessToken) \
30+
/clp:v=D
31+
displayName: ${{ format('Publish prebuilt burndown data ({0})', parameters.relativeBlobPath) }}
32+
env:
33+
relativeBlobPath: ${{ parameters.relativeBlobPath }}
34+
condition: and(succeeded(), ne(variables['publish.blobStorage.accessToken'], ''), eq(variables['generatePrebuiltBurndown'], true))

build.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172

173173
<ItemGroup>
174174
<ItemsToPublish Include="$(PackageReportDir)*.xml" />
175+
<ItemsToPublish Include="$(PackageReportDir)*.csv" />
175176
<ItemsToPublish>
176177
<RelativeBlobPath>$(RelativeBlobPath)/%(Filename)%(Extension)</RelativeBlobPath>
177178
</ItemsToPublish>

0 commit comments

Comments
 (0)