Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

任务执行结果是否能监控 #40

Open
iwind opened this issue Aug 26, 2019 · 0 comments
Open

任务执行结果是否能监控 #40

iwind opened this issue Aug 26, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@iwind
Copy link
Collaborator

iwind commented Aug 26, 2019

有些场景下需要对任务的执行结果进行监控,来确保知道当前任务是否正确执行的。

可能的思路:

  1. 根据 stderr 是否有输出来判断
  2. 根据输出的内容来判断,比如是否匹配 done
  3. 是否可以自定义固定的标签,比如 ok, success, fail
  4. 是否可以在某些固定的执行节点加入代码,比如:
sh build-index.sh
wget "http://192.168.1.100:7777/api/task/report?taskId=12345"

欢迎大家发表自己的意见。

@iwind iwind added the enhancement New feature or request label Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant