Skip to content

Commit f18b836

Browse files
authored
[ci] Pass more information to the signing job (#5403)
Context: 60ab195 Provide additional useful information regarding the build which is calling the signing job. When the build definition name and build number is passed, the signing job will set the build number to reflect the calling build. This makes it much more convenient to immediately tell which build launched the signing job without having to dig into the logs. It also leads to better information in our telemetry regarding the calling build.
1 parent f029ab7 commit f18b836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,6 @@ stages:
12511251
branchToUse: 'full-esrp-integration'
12521252
waitForQueuedBuildsToFinish: true
12531253
storeInEnvironmentVariable: true
1254-
buildParameters: '{ "REPO": "$(Build.Repository.Name)", "COMMIT": "$(Build.SourceVersion)", "SIGN_TYPE": "Real", "GITHUB_CONTEXT": "$(GitHub.Artifacts.Context)" }'
1254+
buildParameters: '{ "REPO": "$(Build.Repository.Name)", "COMMIT": "$(Build.SourceVersion)", "SIGN_TYPE": "Real", "GITHUB_CONTEXT": "$(GitHub.Artifacts.Context)", "BUILD_DEFINITIONNAME": "$(Build.DefinitionName)", "BUILD_ID": "$(Build.BuildId)", "BUILD_NUMBER": "$(Build.BuildNumber)", "BUILD_URI": "$(Build.BuildUri)" }'
12551255
authenticationMethod: 'OAuth Token'
12561256
password: $(System.AccessToken) # Equivalent to the 'Allow scripts to access OAuth token option': https://stackoverflow.com/questions/52837980/how-to-allow-scripts-to-access-oauth-token-from-yaml-builds

0 commit comments

Comments
 (0)