Skip to content

Set both JAVA_HOME and PATH environment for daemon-services#17370

Merged
CRZbulabula merged 1 commit intomasterfrom
fix-daemon
Mar 27, 2026
Merged

Set both JAVA_HOME and PATH environment for daemon-services#17370
CRZbulabula merged 1 commit intomasterfrom
fix-daemon

Conversation

@CRZbulabula
Copy link
Contributor

To prevent the system installed java cannot be identified, we employ java --version rather than JAVA_HOME for detection. Subsequently, to ensure the java is loaded after service restart, we inject both JAVA_HOME and PATH environment to daemon-service.

@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.66%. Comparing base (d1ae3ce) to head (3513fc4).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17370      +/-   ##
============================================
- Coverage     39.78%   39.66%   -0.13%     
  Complexity      312      312              
============================================
  Files          5127     5127              
  Lines        346311   346311              
  Branches      44105    44105              
============================================
- Hits         137785   137349     -436     
- Misses       208526   208962     +436     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CRZbulabula CRZbulabula merged commit 83addf9 into master Mar 27, 2026
27 of 30 checks passed
@CRZbulabula CRZbulabula deleted the fix-daemon branch March 27, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant