Skip to content

Conversation

@raych1
Copy link
Member

@raych1 raych1 commented Dec 6, 2025

Removed hardcode and use the parameter input to parse the service directory and artifacts.

set-test-pipeline-version.yml step will only be run when TestPipeline flag is set to true.

I'll have a separate PR to update patch-release pipeline.

Copilot AI review requested due to automatic review settings December 6, 2025 00:26
@raych1 raych1 self-assigned this Dec 6, 2025
@raych1 raych1 moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys ❄️🎄🎁🎅✨ Dec 6, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes hardcoded template values from pipeline configuration files and replaces them with dynamic parameter-based references, enabling the pipeline to work correctly with template-v2 projects.

  • Replaced hardcoded package names with ArtifactsJson parameter that dynamically provides package information
  • Replaced hardcoded service directory with parameterized ServiceDirectory value
  • Ensured set-test-pipeline-version.yml step runs only when TestPipeline flag is true

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/pipelines/templates/stages/archetype-java-release-batch.yml Updated to use ArtifactsJson variable (converted from parameters.Artifacts) and parameterized ServiceDirectory instead of hardcoded template values
eng/pipelines/templates/jobs/ci.yml Updated two occurrences to use compile-time conversion of parameters.ReleaseArtifacts to JSON and parameterized ServiceDirectory instead of hardcoded template values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants