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

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are 
happy that you want to help us improve DolphinScheduler! -->
   
   ## Purpose of the pull request
   This pull request will print the detail of workflow and task when finished
   related issue: https://github.com/apache/dolphinscheduler/issues/14346
   
   ## Brief change log
   
   Print WorkflowInstance detail/ TaskInstance detail when finished
   
   ## Verify this pull request
   
   The newest log will capture as following:
   
   ```
   
********************************************************************************
                       Workflow Instance Detail
   
********************************************************************************
   Workflow Name:             test_workflow
   Workflow Instance Name:    test_workflow-3-20230731222903874
   Command Type:              REPEAT_RUNNING
   State:                     success
   Host:                      192.168.140.4:5678
   Is Sub Process:            no
   Run Times:                 8
   Max Try Times:             0
   Dry Run:                   0
   Tenant:                    default
   Restart Time:              Tue Aug 01 10:59:29 CST 2023
   Work Group:                default
   Start Time:                Tue Aug 01 10:59:29 CST 2023
   End Time:                  Tue Aug 01 10:59:31 CST 2023
   ```
   
   ```
   
********************************************************************************
                       Task Instance Detail
   
********************************************************************************
   Task Name:              test_node
   Workflow Instance Name: test_workflow-3-20230731222903874
   Task Execute Type:      batch
   Execute State:          success
   Host:                   192.168.140.4:1234
   Task Type:              SHELL
   Priority:               medium
   Tenant:                 default
   First Submit Time:      Tue Aug 01 10:59:29 CST 2023
   Submit Time:            Tue Aug 01 10:59:29 CST 2023
   Start Time:             Tue Aug 01 10:59:29 CST 2023
   End Time:               Tue Aug 01 10:59:30 CST 2023
   
   ```
   


-- 
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