Skip to content

Commit 9de3209

Browse files
fix(ci): build dependencies before convergence check (#13638)
Build dependencies of the dependency-convergence-check project before running the validation. This ensures that when new versions are being released (or modified locally) and are not yet on Maven Central, the reactor can resolve them from local modules. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 7e75d7f commit 9de3209

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.kokoro/dashboard.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ if [[ "${JOB_TYPE}" == "dashboard-units-check" ]]; then
2525
echo -e "\n******************** BUILDING THE DASHBOARD ********************"
2626
mvn test --fail-at-end
2727
elif [[ "${JOB_TYPE}" == "dependency-convergence-check" ]]; then
28+
echo -e "\n******************** BUILDING DEPENDENCIES ********************"
29+
mvn install -pl java-cloud-bom/tests/dependency-convergence -am -Pquick-build -DskipTests -Denforcer.skip=true
2830
cd java-cloud-bom/tests/dependency-convergence/
2931
echo -e "\n******************** RUNNING DEPENDENCY CONVERGENCE CHECK ********************"
3032
mvn validate --fail-at-end

0 commit comments

Comments
 (0)