Skip to content

force multi steps to use the same commit in CI#7697

Merged
fs-eire merged 1 commit intomasterfrom
fs-eire/fix-wasm-pipeline
May 14, 2021
Merged

force multi steps to use the same commit in CI#7697
fs-eire merged 1 commit intomasterfrom
fs-eire/fix-wasm-pipeline

Conversation

@fs-eire
Copy link
Copy Markdown
Contributor

@fs-eire fs-eire commented May 14, 2021

Description: extract the commit of the CI job and checkout them in all steps. this resolves the inconsistency of wasm building pipeline

@fs-eire fs-eire requested a review from a team as a code owner May 14, 2021 03:14
fetchDepth: 1
submodules: false
- script: |
echo.$(Build.SourceVersion)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just curious, does this mean that $(Build.SourceVersion) can change within a single build?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

if it is a PR build, yes.

each job in the pipeline will checkout ref/pull/<PR_ID>/merge. and this may be different if the master is updated.

@fs-eire fs-eire merged commit c53b5be into master May 14, 2021
@fs-eire fs-eire deleted the fs-eire/fix-wasm-pipeline branch May 14, 2021 22:13
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.

4 participants