Build and package topology

  • Trace dependencies from compiled modules and deployable archives to images and the release package.
100%
BUILD INPUTS AND ARCHIVESIMAGE ASSEMBLYCLUSTER RELEASE MATERIALLCM build and package topologySelect / controlBuild / supplycompilepackagecompilebundleincludemodule refapp refbase refchart packagerelease carrierJenkins + GradleSelected projectsLoanTransaction WAR+ health WARLoanTransaction EARShared JARs+ module librariesModule imageApplication imageServer base imageTarget image setChart archive+ indexHelm-release image+ listingcompilepackagecompilebundleincludemodule refapp refbase refchart packagerelease carrier

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • A WAR packages one web module. The LoanTransaction EAR groups the business WAR with the health WAR for deployment. Other Java libraries can travel in separate module images.
  • Follow the arrows into the target image set to see which application, shared-library and server versions the release must select together.
  • LoanTransaction and its health web module ship together. Shared libraries can still move through a separately versioned module image.
  • Trace a shared-library change through image membership and target image references to find affected deployments.
  • The chart and Helm-release carrier are delivery artifacts. The base and application payloads supply the WebLogic runtime.
How an LCM build reaches a target cluster

How an LCM build reaches a target cluster

Build the selected components

  • The Jenkins V2 build tooling generates Gradle tasks from project shape and archive descriptors. A Java module can supply a JAR, a web project a WAR, and an application project an EAR.
  • LoanTransaction gives a concrete membership check. Its EAR descriptor names the transaction WAR and the LCM health WAR. Inspect both entries in the built EAR before image packaging.
  • Library selection follows the application classpath and library membership. A shared JAR can change the payload and class loading of multiple consumers while their WAR files stay byte-identical.

Resolve the image set

  • The image builder gathers application archives and libraries through LIB_NAME, CLASSPATH and APP_INCLUSION. Each selected image has its own version.
  • Each cluster composition selects the server base, application and shared module/infra payloads it needs. The FileUpload and LoanTransaction targets can select different inputs.
  • Trace a change twice: first from source to the archive or module image containing it, then from that image to each cluster composition selecting it.
  • A missing selection or the same class arriving from two inputs can survive compilation. Compare required members with the unpacked EAR and assembled classpath.
Worked example · required archive members and image consumersjson
{
  "kind": "IllustrativeReleaseMembership",
  "release": "R2",
  "archiveContracts": {
    "LoanTransaction.ear": {
      "requiredModuleRoles": ["loan-transaction-web", "lcm-health-web"],
      "checks": ["unpack the built EAR", "read application.xml", "resolve both declared modules"]
    }
  },
  "imageRoles": {
    "server-base": "runtime-B1",
    "transaction-application": "application-A1",
    "shared-module": "module-M2"
  },
  "releaseProducts": ["chart-package", "helm-release-carrier"],
  "case": {
    "change": "module-M1 becomes module-M2 while application-A1 stays identical",
    "impact": "retest every target selecting module-M2, even with an unchanged EAR",
    "blockWhen": ["a required WAR is absent", "two selected payloads supply an incompatible class", "the chart still selects module-M1"]
  },
  "identityRule": "B1, A1 and M2 are teaching labels. A release record uses the actual immutable artifact hashes and image digests."
}

Distinguish the two release artifacts

  • Image creation builds and pushes images and records selected versions. Generated cluster configuration consumes the version references.
  • Chart packaging produces a chart archive and repository index. Release packaging also produces a separate Helm-release image and release listing for staging.
  • The server runs from the workload image set. The Helm-release image carries delivery material for release tooling.
Change Find the affected consumer Acceptance check
Health WAR change EARs that declare that web module Unpack the EAR and verify both application and health module membership
Shared library change Images/classpaths carrying the library, then clusters selecting them Resolve conflicting classes and run affected consumer contracts
Cluster input change Targets selecting the new app or shared image Compare rendered references and target configuration even if Java source is unchanged