Skip to content

Switch enablePublishBuildArtifacts to use pipeline artifacts#16630

Merged
akoeplinger merged 3 commits intomainfrom
copilot/update-publish-build-artifacts
Mar 27, 2026
Merged

Switch enablePublishBuildArtifacts to use pipeline artifacts#16630
akoeplinger merged 3 commits intomainfrom
copilot/update-publish-build-artifacts

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

enablePublishBuildArtifacts was publishing via PublishBuildArtifacts@1, which is inefficient and triggers additional security scan injections per publish in 1ES pipelines.

Changes

  • templates/job/job.yml (non-1ES): Replace publish-build-artifacts.yml with publish-pipeline-artifacts.yml (PublishPipelineArtifact@1); pathToPublishtargetPath, drop publishLocation: Container, add sbomEnabled: false
  • templates-official/job/job.yml (1ES): Change output: buildArtifactsoutput: pipelineArtifact; PathtoPublishtargetPath, drop publishLocation: Container

To double check:


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Update publishBuildArtifacts template to use pipeline artifacts Switch enablePublishBuildArtifacts to use pipeline artifacts Mar 26, 2026
Copilot AI requested a review from mmitche March 26, 2026 22:31
@mmitche mmitche marked this pull request as ready for review March 26, 2026 22:33
@mmitche
Copy link
Copy Markdown
Member

mmitche commented Mar 26, 2026

@ViktorHofer This should help.

@akoeplinger
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@akoeplinger
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@akoeplinger akoeplinger enabled auto-merge (squash) March 27, 2026 09:13
@akoeplinger akoeplinger merged commit ff190d8 into main Mar 27, 2026
8 of 9 checks passed
@akoeplinger akoeplinger deleted the copilot/update-publish-build-artifacts branch March 27, 2026 10:55
Copilot AI added a commit that referenced this pull request Apr 7, 2026
mmitche added a commit to mmitche/arcade that referenced this pull request Apr 8, 2026
…16630)

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: mmitche <[email protected]>
(cherry picked from commit ff190d8)
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.

5 participants