somiljain2006 opened a new pull request, #18738:
URL: https://github.com/apache/dolphinscheduler/pull/18738

   ## Was this PR generated or assisted by AI?
   
   YES. AI was used to assist with implementation guidance and test development.
   
   ## Purpose of the pull request
   
   This pull request adds support for executing JShell scripts in the Java task 
node, allowing users to run Java code snippets without packaging them into a 
JAR file.
   
   ## Brief change log
   
   - Add `JSHELL` as a supported Java task run type.
   - Add a JShell script configuration field and validation.
   - Execute JShell scripts using the configured Java runtime.
   - Update the Java task configuration UI to support JShell.
   - Add documentation for JShell execution.
   - Add unit tests for JShell parameter validation and command construction.
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - Added `JavaTaskTest` cases covering JShell parameter validation, command 
construction, and classpath/module-path configuration.
   - Verified that the Java task module tests pass locally.
   
   ## [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)
   
   [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to