Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
What does it mean when the Build status is partially succeeded
Madhu Pusarla
The status of the Build says "Build partially succeeded". Can someone clarify what it means?
Find more posts tagged with
refinitiv-internal
Accepted answers
Lavanya Gundamaraju
Short Answer - Partially successful means that the code compiled but something else after the compile step failed.
Long answer -
The build is a multi-step process. It includes getting the source from TFS, giving the build a number, labelling the code with the build number, compile, run checkstyle, findbugs or any code analysis tools, deploy the code, run post deployment tests etc. The out of the box build functionality only supports .net projects. CM customized TFS build to be able to use TFS for Java builds. We reuse the targets(jobs) exposed by Microsoft to apply Java specific build operations.
Now by default Microsoft marks the build as 'Successful' if each of the step above completes successfully. If any of the steps before compile fail - its a failure. If compile fails, its a failure. If compile passes and anything after that fails, its a Partially Successful build (irrespective of the build step). CM team customized that functionality. We capture the result of the custom task and change the build status to 'Failed' if the custom task failed. There are some cases out there where the custom task (specially if it is a tool that is integrated into the build) does not return the status correctly or the status is not captured correctly to overwrite the build status. Hence the 'Partially Successful' build status pops up.
All comments
Yuvaraj Raju
When the build finishes, the workflow (Microsoft.TeamFoundation.Build.Tasks.WorkflowTask) manager will overwrite the build status to a value that depends on the combination of statuses of the build process, so the overall build became “PartiallySucceeded”.
Madhu Pusarla
Is it treated as a successful build or failed build. Does the Build get deployed?
Lavanya Gundamaraju
Short Answer - Partially successful means that the code compiled but something else after the compile step failed.
Long answer -
The build is a multi-step process. It includes getting the source from TFS, giving the build a number, labelling the code with the build number, compile, run checkstyle, findbugs or any code analysis tools, deploy the code, run post deployment tests etc. The out of the box build functionality only supports .net projects. CM customized TFS build to be able to use TFS for Java builds. We reuse the targets(jobs) exposed by Microsoft to apply Java specific build operations.
Now by default Microsoft marks the build as 'Successful' if each of the step above completes successfully. If any of the steps before compile fail - its a failure. If compile fails, its a failure. If compile passes and anything after that fails, its a Partially Successful build (irrespective of the build step). CM team customized that functionality. We capture the result of the custom task and change the build status to 'Failed' if the custom task failed. There are some cases out there where the custom task (specially if it is a tool that is integrated into the build) does not return the status correctly or the status is not captured correctly to overwrite the build status. Hence the 'Partially Successful' build status pops up.
Madhu Pusarla
Thanks for the details.
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act