This is an automated email from the ASF dual-hosted git repository.

gnodet 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 10893bf89ce6 [build] Set TERM=dumb in CI to suppress JLine terminal 
warnings (#22067)
10893bf89ce6 is described below

commit 10893bf89ce6e39e740749f9395d03e35af6baa9
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Mar 18 20:49:24 2026 +0100

    [build] Set TERM=dumb in CI to suppress JLine terminal warnings (#22067)
    
    The mvnd client creates a JLine terminal during startup, before parsing
    -B (batch mode). In CI (no TTY), this produces a harmless but noisy
    "Unable to create a system terminal" warning. Setting TERM=dumb tells
    JLine to use a dumb terminal directly, avoiding the warning.
    
    Co-authored-by: Claude Opus 4.6 <[email protected]>
---
 .github/actions/install-mvnd/action.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/actions/install-mvnd/action.yml 
b/.github/actions/install-mvnd/action.yml
index 27d584f0a757..7668d3f785eb 100644
--- a/.github/actions/install-mvnd/action.yml
+++ b/.github/actions/install-mvnd/action.yml
@@ -63,5 +63,7 @@ runs:
         VERSION: ${{ inputs.version }}
         DISTRIBUTION: ${{ inputs.distribution }}
     - id: mvnd-opts
-      run: echo "MVND_OPTS=-B -P apache-snapshots -V -e -ntp -Dmvnd.threads=2 
-Daether.connector.http.connectionMaxTtl=120 
-Daether.connector.requestTimeout=300000 -Daether.dependencyCollector.impl=bf 
-Dmaven.artifact.threads=25 -Dci.env.name=github.com 
-Dsurefire.rerunFailingTestsCount=2 -Dfailsafe.rerunFailingTestsCount=2" >> 
$GITHUB_ENV
+      run: |
+        echo "MVND_OPTS=-B -P apache-snapshots -V -e -ntp -Dmvnd.threads=2 
-Daether.connector.http.connectionMaxTtl=120 
-Daether.connector.requestTimeout=300000 -Daether.dependencyCollector.impl=bf 
-Dmaven.artifact.threads=25 -Dci.env.name=github.com 
-Dsurefire.rerunFailingTestsCount=2 -Dfailsafe.rerunFailingTestsCount=2" >> 
$GITHUB_ENV
+        echo "TERM=dumb" >> $GITHUB_ENV
       shell: bash

Reply via email to