From fe2d38e7a13c36dd20875c6a45528dfafaf0795e Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 16 Aug 2023 15:22:28 -0400 Subject: [PATCH 1/3] Add API Baseline checking to the build --- BUILDING.md | 4 ++ Jenkinsfile | 1 + pom.xml | 37 +++++++++++++++++++ releng/scripts/check_bundle_versions.sh | 1 + .../scripts/check_bundle_versions_report.sh | 17 +++++++++ 5 files changed, 60 insertions(+) diff --git a/BUILDING.md b/BUILDING.md index f897c3886d6..339bffc54c8 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -57,6 +57,10 @@ replace. To do that run with the `baseline-compare-and-replace` profile. Requires verify phase of maven to run, i.e. will not run with `mvn package` even if profile is specified. +#### api-baseline-check + +`api-baseline-check` checks the API of CDT matches the [API policy](https://github.com/eclipse-cdt/cdt/blob/main/POLICY.md#api) + #### production Runs the production steps of the build. This profile can only be run on the CDT CI machines diff --git a/Jenkinsfile b/Jenkinsfile index e56194241fd..346a2f829a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,6 +42,7 @@ pipeline { -Dmaven.test.failure.ignore=true \ -DexcludedGroups=flakyTest,slowTest \ -P baseline-compare-and-replace \ + -P api-baseline-check \ -Ddsf.gdb.tests.timeout.multiplier=50 \ -Dindexer.timeout=300 \ -P production \ diff --git a/pom.xml b/pom.xml index eec8476f338..b77cdc7d6d0 100644 --- a/pom.xml +++ b/pom.xml @@ -45,6 +45,8 @@ -Xms256m -Xmx512m -ea --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED https://download.eclipse.org/tools/cdt/releases/11.2/cdt-11.2.0/ + https://download.eclipse.org/tools/cdt/releases/latest/ + https://download.eclipse.org/releases/latest/