[NO MERGE] feat: add jenkins agent selector logic to use env based agent#1441
Open
gunnertwin wants to merge 57 commits into
Open
[NO MERGE] feat: add jenkins agent selector logic to use env based agent#1441gunnertwin wants to merge 57 commits into
gunnertwin wants to merge 57 commits into
Conversation
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
2 times, most recently
from
April 30, 2026 13:49
6bc39ad to
2d1ef64
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
6 times, most recently
from
May 1, 2026 07:19
f959fc2 to
5587ecb
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 1, 2026 07:27
5587ecb to
39898e8
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 5, 2026 11:08
3b7e7c6 to
e7abf64
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
2 times, most recently
from
May 5, 2026 14:37
00bf378 to
b48042c
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 5, 2026 14:57
b48042c to
7f81b5e
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 6, 2026 11:22
2d14631 to
592f687
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
3 times, most recently
from
May 6, 2026 15:14
4b5e85e to
cb1a146
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 6, 2026 15:20
cb1a146 to
5baf788
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
May 7, 2026 14:53
84d379c to
6a366ff
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
2 times, most recently
from
June 5, 2026 13:43
1363b25 to
985f1c7
Compare
gunnertwin
force-pushed
the
DTSPO-30107-jenkins-agents
branch
from
June 5, 2026 15:26
36b4fc0 to
875adb8
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Print output into jenkins view * Allow branch for testing * Update for correct object * Update for correct object * Improve output formatting * Improve output formatting * Improve output formatting * Update formatting * Update formatting * Update formatting * Update formatting * Update formatting * Update formatting * Update formatting and instructions * Fix failing test
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.
Jira link
DTSPO-30107
Change description
This updates cnp-jenkins-library to run the standard app pipeline on environment-specific Jenkins agents and managed identities instead of the shared Jenkins agent identity.
The main app pipeline now selects a primary ubuntu- agent at startup, so checkout, build, static checks, container build, ACR promotion, Helm publish, and normal branch orchestration run on the relevant environment agent. Stages that target a different environment explicitly switch to that environment’s agent, for example preview AKS deploy/tests use ubuntu-preview, prod Terraform uses ubuntu-prod, and PTL Flux/Jenkins identity lookups use ubuntu-ptl.
This also updates Azure/AKS/ACR/DNS helpers so Azure CLI commands resolve the correct AZURE_CONFIG_DIR for the current environment agent, and keeps the existing shared-style paths only for backwards-compatible/custom paths where no product/environment is supplied.
Key changes:
Testing done
Automated:
Manual Jenkins validation:
Validation also confirmed:
Security Vulnerability Assessment
CVE Suppression: Are there any CVEs present in the codebase, either newly introduced or pre-existing, that are being intentionally suppressed or ignored by this commit?