You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "SbloodyS (via GitHub)" <gi...@apache.org> on 2023/04/19 07:10:44 UTC
[GitHub] [dolphinscheduler] SbloodyS commented on issue #13946: [Question] When scheduling a springboot jar through a shell, the default dolphinscheduler's profile active is: export DATABASE=${DATABASE:-mysql} export SPRING_PROFILES_ACTIVE=${DATABASE}
SbloodyS commented on issue #13946:
URL: https://github.com/apache/dolphinscheduler/issues/13946#issuecomment-1514238110
Every time a shell script is executed, it will also execute the `source dolphinscheduler_env.sh`. You can try to config your own environment config in the task definition page if you want to overwrite the default env settings.
https://github.com/apache/dolphinscheduler/blob/047fa2f65e58b86e2f03a89ce5ac2db264ee5e0f/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ShellCommandExecutor.java#L108-L118
--
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