[ 
https://issues.apache.org/jira/browse/CAMEL-23710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18141271#comment-18141271
 ] 

Guillaume Nodet commented on CAMEL-23710:
-----------------------------------------

PR [#29483|https://github.com/apache/camel/pull/29483] opened with a one-line 
fix.

Root cause confirmed: in {{.mvn/develocity.xml}}, the expression 
{{isFalse(env['GITHUB_ACTIONS'])}} evaluates to {{true}} on Jenkins (where 
{{GITHUB_ACTIONS}} is unset), so background scan upload is left enabled. When 
{{develocity.apache.org}} is slow or unreachable, the upload thread hangs 
indefinitely, blocking JVM exit.

Fix: add an explicit Jenkins check using the {{JENKINS_URL}} env var (always 
set by Jenkins):

{{<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS']) and 
isFalse(env['JENKINS_URL'])}</backgroundBuildScanUpload>}}

This disables background upload on both GitHub Actions and Jenkins, while 
keeping it enabled for local developer builds.

_This comment was generated by an AI coding agent (Hermes/Claude) on behalf of 
gnodet._

> Jenkins job can stay blocked indefinitely on publishing build scan to 
> develocity
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-23710
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23710
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>    Affects Versions: 4.20.0
>            Reporter: Aurélien Pupier
>            Assignee: Guillaume Nodet
>            Priority: Major
>         Attachments: image-2026-06-08-09-10-37-709.png, screenshot-1.png
>
>
>  !image-2026-06-08-09-10-37-709.png! 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to