Drop the rti_license.dat requirement from the release scope build

The release validation scope (TetraIF, Z/src, Lts/Common +
TrainingAreaBase) never consumes an RTI license: no CMake file or
build step reads RTI_LICENSE_FILE, and the only RTI Connext DDS
consumers are all behind BUILD_RTI (OFF for this branch, stubs
compiled instead). The license was pure plumbing:

- new_docker_build.sh: remove the require_file validation, the
  bind mount and the in-container RTI_LICENSE_FILE export
- jenkins-ci-rme: remove the RTI_LICENSE_FILE export and the
  Jenkinsfile workspace-layout comment
- README: document that no license file is needed

Verified with a full pipeline rebuild (scope-rebuild12) run while
rti_license.dat was absent: 0 warnings, ctest baseline unchanged,
all 5 DEBs produced, none of them containing the license.
This commit is contained in:
berrux-dev committed 2026-10-14 16:28:03 +02:00
1 parent 59f0c025e5
commit 11501ff7bb
4 files changed
+9 -29

No files matched your search

@@ -35,11 +35,7 @@ set -eo pipefail
echo "Building LTS ${LTS_VERSION}-${BUILD_NUMBER:-?} DEB for project '${PROJECT}' (Ubuntu ${OS_VERSION})."
echo "PROJECT_BASE_DIR=${PROJECT_BASE_DIR}"
export RTI_LICENSE_FILE="${WORKSPACE}/rti_license.dat"
# Stage workspace as a clean copy under PROJECT_BASE_DIR/deb_stage.
# Only the staging subdirectory is removed — never the workspace itself,
# which contains git-managed source files that must not be deleted.
STAGE_DIR="${PROJECT_BASE_DIR}/deb_stage"
rm -rf "${STAGE_DIR}"
mkdir -p "${STAGE_DIR}"
@@ -69,12 +65,6 @@ python3 make_rpm_ubuntu26.py -c LTS \
--build_number "${BUILD_NUMBER:-1}" \
--release_scope
# Copy produced DEB packages to the packages-out mount (host:
# ${PACKAGE_OUTPUT_DIR}, container: /workspace/packages-out) so they are
# available on the host after the container exits.
# make_rpm already writes to ${WORKSPACE}/rpms/... (the host workspace
# mount), so when the host's PACKAGE_OUTPUT_DIR is that same directory the
# packages are already in place - skip copying onto themselves.
PACKAGE_OUT_DIR=/workspace/packages-out
mkdir -p "${PACKAGE_OUT_DIR}"
shopt -s nullglob