Conversation
The MergedManifest.xml artifact publishes a single file, which causes SBOM generation to fail because it needs a folder path. Set sbomBuildDropPath to the containing directory so SBOM can be generated correctly. Also add sbomBuildDropPath pass-through support to the 1ES publish pipeline artifacts template. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@mmitche do you know if we should mark these files as |
Not production IMO. Just metadata for publishing. |
|
sounds good. @copilot please change the two artifacts to |
Agent-Logs-Url: https://github.com/dotnet/arcade/sessions/bca598e9-a558-4de0-ab3b-8b9ee0b68a69 Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
Done in 8d4d24f. Added Also fixed the |
|
@copilot why did you change |
…son, keep isProduction: false Agent-Logs-Url: https://github.com/dotnet/arcade/sessions/79c211a2-32c2-4642-8c23-93da5f7ccd0a Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
Both reverted in e1b9cda. I changed it to string comparison because |
|
@copilot good find, we don't want to omit the field. please fix this and other affected properties (like sbomEnabled) |
… so false values are forwarded Agent-Logs-Url: https://github.com/dotnet/arcade/sessions/38ba4e9b-7d56-4fd2-a6b4-b25b68287f98 Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
…pass-through in 1ES publish template (#16672) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com> Co-authored-by: mmitche <8725170+mmitche@users.noreply.github.com>
…pass-through in 1ES publish template (dotnet#16672) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com> Co-authored-by: mmitche <8725170+mmitche@users.noreply.github.com> (cherry picked from commit c4cbe74) # Conflicts: # eng/common/core-templates/job/publish-build-assets.yml # eng/common/templates-official/steps/publish-pipeline-artifacts.yml
The
AssetManifests(MergedManifest.xml) andReleaseConfigsartifacts are metadata used for publishing rather than production artifacts, so both are marked withisProduction: false # just metadata for publishing.The
isProductionandsbomEnabledpass-through conditions inpublish-pipeline-artifacts.ymlare fixed to usene(parameters.args.X, '')checks so thatfalsevalues are correctly forwarded to the task input. Previously, afalsevalue would evaluate as falsy and the field would be omitted entirely, meaningisProduction: falsewould never actually reach the underlying task.To double check: