Problem
Running the ext-azure-ai-agents-live pipeline fails during template expansion:
/v1/Steps/UserProvidedBuildSteps.yml@1ESPipelineTemplates (Line: 89, Col: 7): Unexpected value 'PublishPipelineArtifact@1 task is not allowed. Please use `output: pipelineArtifact` instead. See https://aka.ms/1espt/outputs for more details'
Cause
eng/pipelines/ext-azure-ai-agents-live.yml extends 1es-redirect.yml, so it runs through the 1ES pipeline template, which forbids calling PublishPipelineArtifact@1 as a plain task: step. 1ES requires artifacts to be declared as job-level outputs via templateContext.outputs using output: pipelineArtifact (the pattern already used by other 1ES pipelines in the repo, e.g. eng/pipelines/templates/jobs/build-cli.yml).
Fix
Move the test-log publish out of steps: into a templateContext.outputs block on the Tier2 job, preserving condition: always() so logs still publish on failure.
Problem
Running the
ext-azure-ai-agents-livepipeline fails during template expansion:Cause
eng/pipelines/ext-azure-ai-agents-live.ymlextends1es-redirect.yml, so it runs through the 1ES pipeline template, which forbids callingPublishPipelineArtifact@1as a plaintask:step. 1ES requires artifacts to be declared as job-level outputs viatemplateContext.outputsusingoutput: pipelineArtifact(the pattern already used by other 1ES pipelines in the repo, e.g.eng/pipelines/templates/jobs/build-cli.yml).Fix
Move the test-log publish out of
steps:into atemplateContext.outputsblock on theTier2job, preservingcondition: always()so logs still publish on failure.