fix: use artifactName for pipelineArtifact inputs in publish pipeline#481
Merged
Conversation
The 1ES template requires 'artifactName' (not 'artifact') for pipelineArtifact input declarations in templateContext. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the Azure DevOps publish pipeline template usage by switching pipelineArtifact input declarations in templateContext from artifact to the required artifactName, aligning with 1ES template expectations so the pipeline no longer fails with the missing-argument error.
Changes:
- Update
templateContext.inputsentries forpipelineArtifactto useartifactName: pypi-packagesin both internal and public publish jobs.
heyitsaamir
approved these changes
Jun 17, 2026
corinagum
added a commit
to microsoft/teams-sdk
that referenced
this pull request
Jun 17, 2026
…ation (#2894) Same fix as microsoft/teams.ts#625 and microsoft/teams.py#481. Splits the single-job publish pipeline into a separate `publish` stage with two jobs: - `publish_internal` - no release context, publishes to Azure Artifacts - `publish_public` - `type: releaseJob` + `isProduction: true`, publishes via ESRP This fixes the 1ES template error: ``` Change management: no release tasks outside of release jobs in pipeline ``` Also uses `artifactName` (required by 1ES template) for `pipelineArtifact` inputs. Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 1ES template requires
artifactName(notartifact) forpipelineArtifactinput declarations intemplateContext. This was causing: