In this article I explain how I replaced six copied test pipelines with one parameterized pipeline, how a shared pool of test users cut most of our password-rotation work, and how a second pipeline now creates our test data and saves the new IDs for the next run. The examples use Azure DevOps and Playwright. The same idea works on any CI system that supports runtime parameters and a shared secret store.
At a Glance
| Before | After | |
|---|---|---|
| On-demand test pipelines | 6–7 near-identical clones | 1 generic pipeline |
| Where a rotated password is changed | Every pipeline file | One variable group |
| Test-data setup per regression cycle | About 1.5 days of manual work | About 15 minutes, automated |
| Running a new combination of environment, partition and suites | YAML change or DevOps ticket | Pick from dropdowns and run |
| Adoption in the first year | — | Hundreds of runs across the QA team |
If You Want to Save Time
| If you are... | Start with | Then read |
|---|---|---|
| A QA automation engineer who wants to build this | Section 6, Building One Pipeline for Every Run | Section 13, How Your Team Can Do the Same |
| A DevOps or platform engineer | Section 5, How the Pieces Fit Together | Section 6.4, What Runs on the Agent, and Section 12, What I Learned |
| An engineering manager weighing the value | Section 1, Where This Started | Section 10, Results |
| An architect checking whether it scales | Section 5, How the Pieces Fit Together | Section 11, How It Scales |
| New to the team | Section 2, Why Copying Pipelines Stopped Working | Section 9, Following One Run From Start to Finish |
1. Where This Started
I work on end-to-end test automation for a large multi-tenant web application. When I started on the pipelines, we tested against four environments: dev, test, pre-prod and a deployment on a second cloud provider. The application keeps its data in separate data partitions, and the number of partitions kept growing. We ran tests on Chrome and Edge. The test code had several feature modules, each with a short smoke suite and a longer regression suite. There was also a set of API tests for the backend-for-frontend (BFF), the API layer that serves the web UI.
Each time a new partition came in, we copied an existing pipeline and changed the users, data and names inside it. After about a year we had six or seven of these copies, each with its own hardcoded users and record IDs. Our passwords rotate every 90 days. Every rotation meant opening each file and changing it by hand, and the copies slowly drifted apart.
I fixed this with two pieces of work:
- A generic test pipeline. The person who starts a run picks the environment, user group, test-data group, browser and suites from dropdowns. Credentials and data come from shared, secured variable groups at run time. A pool of generic test users can be moved to any partition just before the tests start, which means one set of accounts covers all partitions.
- A test-data creation pipeline. It creates a partition's test data from templates and then saves the new record IDs into that partition's variable group. The next test run picks up the current IDs without anyone editing a file.
Six or seven on-demand pipelines became one, which is about 80% fewer. A password rotation is now one edit. Test-data setup dropped from about a day and a half to about fifteen minutes. In the first year the QA team ran the generic pipeline hundreds of times, and the old per-partition pipelines stopped being used.
The rest of the article covers the problem, the options I looked at, the design, the code, the results and a plan you can follow in your own team.
2. Why Copying Pipelines Stopped Working
Copying a pipeline is the quickest way to support a new partition, and the first copy works fine. The trouble shows up later. By the sixth copy we had six files that were almost the same, with small differences that nobody could explain from memory.
These were the problems I saw day to day:
| # | Problem | What it looked like |
|---|---|---|
| 1 | Pipeline duplication | Six or seven on-demand pipelines, one per partition, with the same stages copied into each. A fix in one file had to be repeated in all of them. |
| 2 | Hardcoded users and data | Usernames, passwords and record IDs were written directly in each pipeline file. |
| 3 | Credential rotation | Every 90-day rotation or new user meant editing every file. One missed variable caused failures that had nothing to do with the product. |
| 4 | Per-partition user accounts | Each partition needed its own users, which multiplied the accounts to create, rotate and enable features for. |
| 5 | Manual test data | About a day and a half per regression cycle, shared across several testers, to create projects, records and other entities by hand. |
| 6 | Stale IDs and false failures | A wrong or outdated record ID made a test fail in a way that looked like a product bug. |
There were two smaller problems under these. No single place showed which users and data a run had used. Run history was also spread across several pipeline definitions.
This hurt the team in a few ways. A missed password in one copy caused an authentication failure, and at first look that failure was hard to tell apart from a real defect. Each new partition added another pipeline, another set of users to rotate and more data to prepare, and none of that work added test coverage. When red runs came from old credentials or old data, people started to doubt the results. Testers also had to ask DevOps for help, or edit YAML themselves, just to run something like "regression on pre-prod, partition B, Edge".
3. What I Tried First
Before building anything new, I looked at the usual options. Most teams start with one of these, and we did too. Each of them works at small scale.
- Copy the pipeline for each environment or partition. It is quick, and each file is easy to read.
- Keep one large pipeline with a hardcoded stage for each environment.
- Move secrets out of YAML into each pipeline's UI variables.
- Prepare test data by hand through the UI and share the IDs in a document or chat.
- Give each partition its own test user accounts.
This is where each one broke down for us:
| Approach | Where it broke down |
|---|---|
| Copy-and-edit pipelines | Copies drift apart. Fixes and rotations must be repeated N times, and N grows with every partition. |
| One pipeline, stage per environment | The file grows with every environment. Adding a partition still means editing YAML. Running one combination means turning the others off. |
| UI variables per pipeline | Secrets leave the YAML but are still copied into every pipeline. Rotation is still N edits. |
| Manual test data | Slow and easy to get wrong. It holds up the start of every regression cycle, and IDs go out of date without anyone noticing. |
| Users per partition | Accounts multiply with partitions. Each one needs rotation, licenses and feature enablement. |
All five had the same weakness. Some piece of configuration was tied to one pipeline or one person, and the work grew each time we added an environment or partition.
Figure 1: Six or seven cloned pipelines, each with its own hardcoded users and data, become one pipeline that reads users and data from shared groups chosen at run time.
| Dimension | Copied pipelines | Generic pipeline |
|---|---|---|
| Number of pipelines | One per partition (6–7, growing) | One |
| Duplication | Same stages and steps copied into every file | Stages written once in a shared template |
| Maintenance | Fix once, then repeat in every copy | Fix once |
| Configuration | Users and data hardcoded per pipeline | Users and data in secured variable groups, chosen at run time |
| New partition | New pipeline, new users, new data by hand | New variable group (or none, with generic users) |
| Day-to-day effort | Rotation = N edits. Ad-hoc runs need YAML changes or a DevOps ticket. | Rotation = 1 edit. Ad-hoc runs are started from dropdowns. |
4. What I Wanted From the New Setup
I wrote these goals down before writing any YAML, and I checked later decisions against them.
| Goal | What it means in practice | How I would know it worked |
|---|---|---|
| G1. One pipeline | Every on-demand combination runs from a single definition. | The per-partition pipelines stop being used. |
| G2. One place per secret | Each credential and each data ID exists in one store only. | A rotation touches one variable group. |
| G3. Self-service | A tester with no DevOps background can start any combination. | No YAML change or ticket for ad-hoc runs. |
| G4. Cheap to add scope | A new partition or module takes minutes, not a new file. | A new partition is tested by selecting it. |
| G5. Current data | Test data is created automatically and its IDs are written back. | Failures from stale IDs stop appearing. |
| G6. Traceable | Every run records what it ran against. | One run history with parameters attached. |
| G7. No new infrastructure | Use features the CI system already has. | No new servers, services or licenses. |
G7 turned out to be important. Anything that needs a new service also needs an owner and a budget, and someone has to approve it. Pipeline parameters, templates and variable groups were already available to us, which helped the team accept the change quickly.
5. How the Pieces Fit Together
Figure 2: Users start one pipeline. The configuration layer supplies credentials, data and templates. The execution engine runs Playwright against the chosen environment, and the results go to reporting. The test-data pipeline keeps the data groups current.
The setup has five layers:
- Users fill in a run form. They don't touch YAML.
- The generic pipeline reads the form and decides which stages and jobs to create and what configuration each one gets.
- The configuration layer holds whatever changes between environments and partitions, such as URLs, credentials and record IDs. The shared templates live here too.
- The execution engine is a build agent. It installs packages, loads the chosen users and data, and runs Playwright on one agent or split across several.
- Reporting publishes results to the pipeline's Tests tab, keeps the HTML report, can update a test plan and keeps one run history for all on-demand runs.
Figure 3: How the components interact during one run. Secrets and IDs are read from variable groups at run time. Nothing environment-specific is stored in the pipeline or the test code.
Design Decision: Runtime Parameters Over Separate Pipelines
Azure DevOps expands runtime parameters when it compiles the pipeline, before any job starts. A template expression like ${{ if parameters.runSearchSmoke }} therefore decides whether a job exists at all. A suite that isn't selected never shows up in the run and never uses an agent.
Other options I considered:
- Separate pipelines that share templates. This removes the copied steps, but we would still have N definitions, N run histories and N places to add a partition.
- Runtime conditions (
condition:). These are checked while the pipeline runs, and every job still appears in the run as skipped. Variable-group names also can't be chosen this way, because groups are resolved at compile time. - A custom launcher service or script. It would be more flexible, but it needs hosting, an owner and access control, which goes against G7. The CI system's own run form was enough.
Design Decision: Variable Groups as the Configuration Store
Variable groups are a built-in key–value store with permissions, and secret values are masked in logs. Pipelines import them by name, and that name can come from a parameter. This is what makes it possible to choose users and data at run time.
Other options I considered:
- Config files in the repository. These are fine for settings that aren't secret. Credentials should not be in source control, and every change would need a pull request.
- A secrets vault on its own. A vault is a good long-term home for secrets, and variable groups can link to one. Using variable groups in the pipeline keeps the YAML simple and lets us move the values into a vault later without changing it.
Figure 4: The pipeline code is written once. Each run picks which configuration to read. A new partition needs a new variable group, not a new pipeline.
Put together, the generic pipeline lets anyone run any suite against any target, and the test-data pipeline makes sure the data for that run exists. I needed both. With only the first one, the waiting would have moved from setting up pipelines to setting up data.
6. Building One Pipeline for Every Run
6.1 Runtime Parameters
The main change was to stop putting environment, partition, browser and suite choices into separate YAML files. They became runtime parameters on one pipeline.
parameters: - name: environment displayName: Environment type: string values: [dev, test, preprod, cloud] - name: userGroup displayName: User group (must match the environment/partition) type: string values: [partition-a-users, partition-b-users, generic-users] - name: testDataGroup displayName: Test-data group (partition-specific) type: string values: [partition-a-data, partition-b-data] - name: browser type: string values: [chrome, edge] # one boolean per suite: smoke + regression - name: runSearchSmoke type: boolean default: false - name: runSearchRegression type: boolean default: false # ...one pair per module In Azure DevOps, a string parameter with a values list shows up as a dropdown on the "Run pipeline" form, and a boolean shows up as a checkbox. Testers see a form. They never open the YAML.
Over time I added four more parameters, mostly for daily debugging:
- name: agentImage displayName: Agent pool (OS image to run the tests on) type: string default: ubuntu-latest values: [ubuntu-latest, windows-latest] - name: shardCount displayName: Number of parallel shards (1 = single agent) type: number default: 1 - name: testCaseIds displayName: (optional) Test case ID(s) to run, comma or space separated type: string default: " " - name: runBFFtest displayName: Run BFF API tests type: boolean default: false -
agentImagelets a tester reproduce a browser issue that only happens on Windows. -
shardCountsplits a long regression suite across several agents to finish sooner. -
testCaseIdsreruns one or two tests to check a fix, without running the whole module. -
runBFFtestruns the API test suite, which is in a different repository, through a cross-repository template.
6.2 Variable Groups: One Place per Secret
userGroup and testDataGroup are the two parameters that matter most. Each one names a secured variable group with that partition's credentials or seed data. The pipeline imports whatever the user picked:
variables: - group: common-secrets - group: ${{ parameters.userGroup }} - group: ${{ parameters.testDataGroup }} The ${{ }} syntax is a template expression. Azure DevOps replaces it with the selected value before the run starts. For example, group: ${{ parameters.userGroup }} becomes group: partition-b-users. The pipeline file never names a partition. Each credential lives in one group, and a rotation means updating that one group.
This only works if every group uses the same key names. All user groups have the same variables, for example ADMIN_USER, ADMIN_PASSWORD and VIEWER_USER. All test-data groups have the same data keys, for example SEARCH_RECORD_ID. The tests read these names and don't need to know which partition they are running on. I standardized the key names first. After that I moved the existing pipeline files onto shared user and test-data templates in one change. From then on, every pipeline in the repository read users and data the same way.
6.3 Reusable Suite Template
Each selected module runs through one shared template:
stages: - stage: run_selected_modules jobs: - ${{ if parameters.runSearchSmoke }}: - template: templates/run-suite.yml parameters: moduleName: search-smoke browser: ${{ parameters.browser }} environment: ${{ parameters.environment }} userGroup: ${{ parameters.userGroup }} The template maps moduleName to a test folder, and the pipeline file has no paths in it. With N modules, each with smoke and regression, plus the API suite, the stage has 2N + 1 of these blocks. Adding a module means adding one more block and one checkbox.
6.4 What Runs on the Agent
Each selected suite becomes a job. On a Microsoft-hosted agent, the job:
- Checks out the test repository.
- Installs packages and only the browser that was picked (
npx playwright install chromiumormsedge). - Loads users and test data from the imported variable groups through two shared templates. The tests read them as environment variables.
- Runs Playwright on the module's folder. It adds a shard argument and a test filter only when they are needed.
- Publishes JUnit results to the Tests tab and the Playwright HTML report as an artifact, even when tests fail.
- Optionally updates the automation test plan with the results, which puts manual and automated status in one place.
The template handles sharding and test filtering:
# Fan out across N agents only for whole-module runs. # When specific test IDs are given, stay on one agent. ${{ if and(gt(parameters.shardCount, 1), eq(replace(parameters.testCaseIds, ' ', ''), '')) }}: strategy: parallel: ${{ parameters.shardCount }} # Turn "1001,1002" into the Playwright filter "TC_1001|TC_1002" # (test titles follow the TC_<ID>_Description convention). PATTERN=$(printf '%s' "$TEST_CASE_IDS" \ | tr ',;' ' ' | tr -s ' \t\r\n' '\n' \ | sed -E '/^$/d; s/^[Tt][Cc]_?//; s/^/TC_/' \ | paste -sd '|' -) [ -n "$PATTERN" ] && GREP_ARG="--grep=$PATTERN" # Add --shard only when the job is one of several parallel agents. [ "$SHARD_TOTAL" -gt 1 ] 2>/dev/null && SHARD_ARG="--shard=$SHARD_INDEX/$SHARD_TOTAL" npm run test:$BROWSER -- "$MODULE_PATH" $SHARD_ARG $GREP_ARG SHARD_INDEX and SHARD_TOTAL come from the agent's built-in System.JobPositionInPhase and System.TotalJobsInPhase variables. Each parallel agent runs its own slice of the suite, and the results are merged when they are published.
6.5 Three Example Runs
| Who | Need | What they select | What runs |
|---|---|---|---|
| A tester verifying a fix | Re-check two failed tests on pre-prod, partition B, Edge | preprod, partition-b-users, partition-b-data, edge, the module's regression box, testCaseIds = 1001,1002 | One job on one agent, two tests |
| The QA lead before a release | Full regression on test, partition A, Chrome, as fast as possible | test, partition-a-users, partition-a-data, chrome, all regression boxes, shardCount = 4 | One regression job per module, each split across four agents |
| An engineer checking a newly added partition | Smoke on the new partition without creating any users | generic-users, shouldChangePartition = true, dataPartitionName = <new partition>, the new partition's data group, all smoke boxes | The partition switch first, then one smoke job per module |
All three runs use the same definition, and they show up in the same run history with their parameters.
6.6 Reports and Traceability
Reporting uses what Azure DevOps already provides:
- JUnit results go to the run's Tests tab. The title includes the module, browser, run label and build ID, which keeps results from different suites and shards apart.
- The Playwright HTML report is attached to the run as an artifact for each module and browser. It includes traces and screenshots for failed tests.
- An optional step pushes the results into the team's automation test plan. Manual testers and managers then see automated status next to manual status.
- Each on-demand run records its parameters. When someone asks what a run used, the answer is on the run page.
All publishing steps use condition: always(). A failed suite still produces its report, and failed runs are the ones we most need to look into.
7. One Set of Users for Every Partition
Even with one pipeline, separate users for each partition were still a problem. Every new partition added another set of accounts to create, enable features for and rotate on schedule. I solved this with a generic user group and a "change partition" step that runs before the tests. One set of generic users is moved to whichever partition the run targets:
stages: - stage: changeDataPartition jobs: - ${{ if and(eq(parameters.userGroup, 'generic-users'), eq(parameters.shouldChangePartition, true)) }}: - template: templates/change-data-partition.yml parameters: environment: ${{ parameters.environment }} dataPartitionName: ${{ parameters.dataPartitionName }} - ${{ else }}: - job: skip steps: - script: echo "No partition change requested." The change-partition template signs in as the generic users, points them at the target partition ID passed in as a parameter, and runs a short "set partition" job. Then the suites start. One pool of users now covers every partition, and a rotation updates one group.
Figure 5: The generic users are switched to the target partition before the suites start. The tests then run against that partition without a dedicated set of accounts.
I also made this step available as a separate on-demand pipeline. A tester can move the generic users to a partition in under a minute, before a run or on its own, by picking the environment and partition from dropdowns. The stage and the separate pipeline use the same template. The separate pipeline also stops with an error if the partition field still contains its placeholder text. Without that check, someone would sooner or later switch the users to a partition called "Enter partition name".
Design Decision: Generic Users Over Users per Partition
The main benefit is that the number of accounts no longer grows with the number of partitions. The team rotates one group and enables features for one set of users. A new partition gets into testing when someone types its name.
The cost is that generic users can be on only one partition at a time. Two runs that need different partitions at the same moment would clash. For partitions that are tested heavily or in parallel, we keep dedicated user groups. The pipeline supports both, since generic-users is one more value in the user-group dropdown.
8. Creating Test Data Automatically
A pipeline that can run anywhere still needs data in each partition. Before this work, creating that data took about a day and a half per regression cycle, shared across several testers. They created projects, records and other entities by hand. If an ID was wrong or out of date, a test failed in a way that looked like a product bug.
I built a test-data creation pipeline that creates a partition's data from templates. It then writes the new IDs back to the place where the test pipeline reads them. It uses two tracks:
- API request helpers, for anything the BFF can create directly, such as projects, collections, records and attachments.
- Direct ingestion into the data store, using service credentials and templates, for low-level records the BFF can't create.
After creating the data, the pipeline saves the new IDs to a JSON file and updates the partition's variable group through the Azure CLI:
# after creating entities, push their IDs into the partition's variable group az pipelines variable-group variable update \ --group-id "$GROUP_ID" \ --name "SEARCH_RECORD_ID" \ --value "$(jq -r '.searchRecordId' created-ids.json)" Figure 6: Data is created through two tracks, the new IDs are collected in one file, and the CLI writes them into the partition's variable group. The next test run reads the new IDs automatically.
The pipeline creates close to a hundred entities of several types, from top-level containers down to single records, using a handful of scripts. Setup went from about a day and a half to about fifteen minutes, roughly 98% less. The bigger gain was in trust. Because the IDs are always current, we stopped seeing failures caused by stale data, and smoke pass rates went up once the data under the tests was reliable.
9. Following One Run From Start to Finish
This section follows a single run, from clicking "Run pipeline" to reading the results.
Figure 7: The eight steps of a run. Only step 4 branches, and only when generic users are selected.
Say a tester needs regression results for pre-prod, partition B, on Edge. They open the generic pipeline, click "Run pipeline" and fill in the form. The pipeline has no automatic trigger (trigger: none) and runs only when someone starts it.
Azure DevOps then expands the templates with the chosen values. It doesn't create jobs for suites that weren't ticked, and it imports the selected user and data groups. If generic users and a partition change were requested, Stage 1 switches the users. If not, Stage 1 is a one-line step that does nothing.
Each selected suite then runs as its own job. Jobs run in parallel when agents are free and are split into shards when shardCount is above 1. Playwright assertions decide pass or fail, and results and reports are published even when tests fail. The tester reads the results in the Tests tab, opens the HTML report for failures and can link the run, with all its parameters, in a bug report.
Figure 8: Each choice on the run form is a branch that the pipeline resolves at compile time. One definition can route to any mix of partition, environment, execution type and parallelism.
We don't have a separate "full run" option. A full run means ticking smoke and regression for all modules plus the BFF API suite. With the checkboxes, a tester can choose anything from a single smoke suite to everything.
Figure 9: The pipeline sits inside a loop. Each run's reports feed changes back into the tests, the data and the pipeline. Several of the parameters in Section 6 came out of this loop.
10. Results
What Changed
- About 80% fewer pipelines: six or seven on-demand pipelines became one.
- A credential rotation means updating one variable group.
- Testers start any combination from the run form, with no ticket and no YAML change.
- All on-demand runs are in one run history with their parameters.
In Numbers
| Measure | Before | After |
|---|---|---|
| On-demand test pipelines | 6–7 | 1 |
| Pipeline files reading users and data through shared templates | None | All of them |
| Edits per credential rotation | One per pipeline | One |
| User sets to create and rotate | One per partition | One generic set (plus dedicated sets where needed) |
| Test-data setup per regression cycle | ~1.5 days, several testers | ~15 minutes, automated (~98% less) |
| Cost of testing a new partition | New pipeline, new users, manual data | Select it in the run form |
| First-year usage | — | Hundreds of runs across the QA team |
Other Effects
The generic pipeline became the team's standard way to run on-demand tests, and the older per-partition pipelines went out of use. A partition added months later went into testing by being selected in the run form, with no new pipeline file. With current credentials and data, a red run is now much more likely to point to a real product issue. New team members learn one pipeline and one form, documented on one wiki page.
The change I value most is the drop in failures caused by drift and old data. The small parameters also mattered more than I expected. Running single test IDs, choosing shards and picking the agent OS made the pipeline a daily debugging tool for testers. Before that, it was used mostly ahead of releases.
11. How It Scales
With copied pipelines, each new partition adds a pipeline, a set of users, a manual data setup and one more file to edit at every rotation. The generic model keeps most of these costs flat.
Figure 10: As partitions grow, the copied model's pipelines, user sets and rotation edits grow with them. The generic model stays at one pipeline, and only small data groups are added. The 20 and 50+ stages are a projection. We run with a handful of partitions today.
| Growth in... | Cost with copied pipelines | Cost with the generic pipeline |
|---|---|---|
| Partitions | +1 pipeline, +1 user set, +1 manual data setup | +1 test-data group, filled in by the data pipeline |
| Environments | +1 pipeline per partition, or edits to every pipeline | +1 value in the environment dropdown |
| Modules or suites | Edit every pipeline | +1 short template call and +1 checkbox |
| Browsers or agent OS | Edit every pipeline | +1 value in a dropdown |
| Suite length | Longer runs on one agent | Raise shardCount to spread the run across agents |
| Credential rotation | N edits | 1 edit |
Two kinds of growth behave differently. More partitions, environments and modules are handled by parameters and variable groups, and the pipeline code stays the same size. Longer suites and more tests are handled by sharding. Raising shardCount from 1 to 4 spreads a whole-module run across four agents, up to the number of parallel jobs your organization has.
12. What I Learned
Trade-Offs
- The run form gets long. One checkbox per suite per tier adds up. It is still easier to manage than many pipelines, but the parameters need clear grouping and labels.
- The shared variable groups now carry a lot of weight. A wrong key name in one group breaks every run that selects it. Standardize key names before you consolidate.
- Moving generic users between partitions needs limits on who can do it and against which environments, especially for sensitive partitions.
- The job that writes IDs back needs write access to the variable group. Keep that token scoped tightly.
What I Would Do Earlier Next Time
- Put instructions in the form. The user-group dropdown label says the group must match the environment and partition. That one line in
displayNameprevented more wrong runs than the wiki page did. - Check for placeholder values. A free-text field with a default like "Enter Partition Id to change" will be submitted unchanged at some point. Fail early with a clear message.
- Test shell commands on the CI agent itself. My first version of the test-ID filter used
xargsto trim the input. On the agent, the job environment was very large because it held all pipeline variables plus the loaded user and data values.xargsfailed with "environment is too large for exec". The filter came back empty, and the job ran the whole module instead of the two tests, with no warning.tr,sedandpastedon't start a new process with that environment, and they work fine. I now print the filter value in the log, which makes an empty filter easy to spot. - Keep compile time and run time separate in your head.
${{ }}expressions decide what the pipeline contains.$( )macros andcondition:decide what it does while running. Variable-group names, job lists and template parameters have to be known at compile time. - Show people early. I introduced the pipeline to the QA team with a short walkthrough and a deck. Before building the generic users and shared templates, I proposed them to the QA manager and the team. People adopted the pipeline faster because they had seen it working and had a say in it.
13. How Your Team Can Do the Same
The short version: list everything your pipelines hardcode and make each item a parameter on one pipeline, backed by variable groups chosen at run time. Add a shared suite template for modules. If the number of partitions is your main pain, add generic users with a partition-change step. Then automate the test data and write the IDs back.
Figure 11: Six phases from assessment to optimization. Phases 1–4 deliver the generic pipeline. Phases 5–6 remove the remaining per-partition work and speed up runs.










