You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2025/10/24 08:53:33 UTC
(camel) branch main updated: chore(ci): list the project which are selected by incremental build
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a150c0602a0c chore(ci): list the project which are selected by incremental build
a150c0602a0c is described below
commit a150c0602a0c2b662660ea84f0b58af39dd6853a
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Fri Oct 24 10:46:28 2025 +0200
chore(ci): list the project which are selected by incremental build
Enhance the observability during CI build
---
.../actions/incremental-build/incremental-build.sh | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/.github/actions/incremental-build/incremental-build.sh b/.github/actions/incremental-build/incremental-build.sh
index 23a8993a201b..e792657b1db9 100755
--- a/.github/actions/incremental-build/incremental-build.sh
+++ b/.github/actions/incremental-build/incremental-build.sh
@@ -106,14 +106,23 @@ function main() {
echo "The build-dependents label has been detected thus the projects that depend on the affected projects will be built"
totalTestableProjects=0
else
+ for w in $pl; do
+ echo "$w"
+ done
totalTestableProjects=$(./mvnw -q -amd exec:exec -Dexec.executable="pwd" -pl "$pl" | wc -l)
fi
if [[ ${totalTestableProjects} -gt ${maxNumberOfTestableProjects} ]] ; then
echo "Launching fast build command against the projects ${pl}, their dependencies and the projects that depend on them"
+ for w in $pl; do
+ echo "$w"
+ done
$mavenBinary -l $log $MVND_OPTS -DskipTests install -pl "$pl" -amd -am
ret=$?
else
echo "Launching fast build command against the projects ${pl} and their dependencies"
+ for w in $pl; do
+ echo "$w"
+ done
$mavenBinary -l $log $MVND_OPTS -DskipTests install -pl "$pl" -am
ret=$?
fi
@@ -138,11 +147,17 @@ function main() {
totalTestableProjects=$(./mvnw -q -amd exec:exec -Dexec.executable="pwd" -pl "$pl" | wc -l)
fi
if [[ ${totalTestableProjects} -gt ${maxNumberOfTestableProjects} ]] ; then
- echo "There are too many projects to test so only the affected projects are tested"
+ echo "There are too many projects to test so only the affected projects are tested:"
+ for w in $pl; do
+ echo "$w"
+ done
$mavenBinary -l $log $MVND_OPTS install -pl "$pl"
ret=$?
else
- echo "Testing the affected projects and the projects that depend on them"
+ echo "Testing the affected projects and the projects that depend on them:"
+ for w in $pl; do
+ echo "$w"
+ done
$mavenBinary -l $log $MVND_OPTS install -pl "$pl" -amd
ret=$?
fi