Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bundle analysis collection and publish steps #3149

Merged
merged 4 commits into from
Aug 14, 2020

Conversation

heliocliu
Copy link
Contributor

@heliocliu heliocliu commented Aug 12, 2020

#2449
Add build steps to collect and publish bundle analysis to build artifacts

@heliocliu heliocliu changed the title Publish pkg analysis Add bundle analysis collection and publish steps Aug 12, 2020
Copy link
Member

@markfields markfields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎂 Looks good, I'm assuming you've run the pipeline and it works? ;)


- task: PublishBuildArtifacts@1
displayName: Publish Artifacts - bundle-analysis
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

succeeded() is set based on the previous task? That's cool.

displayName: Publish Artifacts - bundle-analysis
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
inputs:
PathtoPublish: '${{ parameters.buildDirectory }}/artifacts/bundleAnalysis'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a different path than used for the Docs one below, is that intentional? How did you choose this path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the path to the stuff that gets published; this just happened to be where the bundle analysis stuff went. it may be better to group it all closer together? not sure it matters much though.

@heliocliu heliocliu merged commit 9aec616 into microsoft:master Aug 14, 2020
@heliocliu heliocliu deleted the PublishPkgAnalysis branch August 14, 2020 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants