Route CICS SDK archive through MASS#11526
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b3143fe40e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| def massArtifactUrl = { String upstreamArtifactUrl -> | ||
| def massReadUrl = providers.environmentVariable('MASS_READ_URL').orNull | ||
| if (massReadUrl == null) { |
There was a problem hiding this comment.
Treat blank MASS_READ_URL as unset
If a CI job or local shell exports MASS_READ_URL as an empty or whitespace-only value, orNull still returns that value and this helper routes the Ivy repository to /internal/artifact/public.dhe.ibm.com/... instead of falling back to the IBM URL. That makes CICS SDK resolution fail in environments where the variable is defined but intentionally empty; the other MASS helpers in this repo guard this by trimming and treating blank values as absent.
Useful? React with 👍 / 👎.
What Does This Do
When
MASS_READ_URLis present, the CICS 9.1 instrumentation resolves the IBM CICS SDK archive through MASS at/internal/artifact/public.dhe.ibm.com/software/htp/cics/support/supportpacs/individual/. Without that environment variable, local builds keep using the original IBM URL.Motivation
CI should send this build-time SDK archive through MASS once the IBM host is allowed. That keeps the dependency path explicit while preserving the upstream fallback for local builds.
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labels.Jira ticket: APMLP-1407, [APMLP-1402]