You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "baratamavinash225 (via GitHub)" <gi...@apache.org> on 2024/03/10 13:50:46 UTC
[I] [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use [dolphinscheduler]
baratamavinash225 opened a new issue, #15690:
URL: https://github.com/apache/dolphinscheduler/issues/15690
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
**What happened**
I would like to extend the shell task to have default variables of WORKFLOW_NAME, WORKFLOW_INSTANCE_NAME, WORKFLOW_ID, WORKFLOW_INSTANCE_ID
These variables can be used to track the logs, or use it for the external loggings such as splunk etc.,
**What you expected to happen**
DolphinScheduler ShellTask to return with the WORKFLOW_NAME, WORKFLOW_INSTANCE_NAME, WORKFLOW_ID, WORKFLOW_INSTANCE_ID when the user performs or uses these variables in the script.
ex: echo ${WORKFLOW_NAME} echo ${WORKFLOW_ID} echo ${WORKFLOW_INSTANCE_NAME} echo ${WORKFLOW_INSTANCE_ID} - should return the respective values pertained to the instance while running.
**How to reproduce**
Echo these variables post implementation to print the variables
echo ${WORKFLOW_NAME} echo ${WORKFLOW_ID} echo ${WORKFLOW_INSTANCE_NAME} echo ${WORKFLOW_INSTANCE_ID}
**Anything else**
No response
**Version**
3.1.x
3.2.x
**Are you willing to submit PR?**
Yes I am willing to submit a PR!
**Code of Conduct**
I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use [dolphinscheduler]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #15690: [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use
URL: https://github.com/apache/dolphinscheduler/issues/15690
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use [dolphinscheduler]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15690:
URL: https://github.com/apache/dolphinscheduler/issues/15690#issuecomment-2065525730
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use [dolphinscheduler]
Posted by "baratamavinash225 (via GitHub)" <gi...@apache.org>.
baratamavinash225 commented on issue #15690:
URL: https://github.com/apache/dolphinscheduler/issues/15690#issuecomment-1987241593
I am currently working on this item and submit the PR in a while
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement][shell_task] Shell task to have Workflow instance specific attributes for the use [dolphinscheduler]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15690:
URL: https://github.com/apache/dolphinscheduler/issues/15690#issuecomment-2050754243
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org