Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
钉
钉钉群通知
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yaozheng
钉钉群通知
Commits
f5338c4f
Commit
f5338c4f
authored
Mar 09, 2021
by
yaozheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加流量线测试群提醒
parent
374c34cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
task.py
robot/task.py
+3
-3
No files found.
robot/task.py
View file @
f5338c4f
...
...
@@ -50,7 +50,7 @@ class Task:
secret
=
'SECf2cc843306d667575a491650c777d8aa21788c4c60f3f0949d5d0b61c86e5aef'
text
=
'# 下班前先想一想 '
\
'
\n
> ***今天排查的线上问题记录了吗?*** [去记录](http://cf.dui88.com/pages/viewpage.action?pageId=97986428) '
\
'
\n
> ***测试用例上传了吗?*** [去上传](http://cf.dui88.com/pages/viewpage.action?pageId=67163
062
) '
\
'
\n
> ***测试用例上传了吗?*** [去上传](http://cf.dui88.com/pages/viewpage.action?pageId=67163
149
) '
\
'
\n
> ***提测bug都提交了吗?*** [去提交](http://jira.dui88.com) '
\
'
\n
> ***业务文档都更新了吗?*** [去更新](http://cf.dui88.com/pages/viewpage.action?pageId=78912619) '
...
...
@@ -60,8 +60,8 @@ class Task:
currentdate
=
datetime
.
date
.
today
()
currentday
=
calendar
.
weekday
(
currentdate
.
year
,
currentdate
.
month
,
currentdate
.
day
)
if
currentday
==
1
or
currentday
==
3
:
text
=
text
+
'
\n
> ***今天上线的需求都线上回归了吗?***'
text
=
text
+
'
\n
> ***今天上线的需求都线上回归了吗?***
'
if
currentday
==
4
:
text
=
text
+
'
\n
> ***测试周报都写了吗?*** [去写周报](http://cf.dui88.com/pages/viewpage.action?pageId=92507929)'
text
=
text
+
'
\n
> ***测试周报都写了吗?*** [去写周报](http://cf.dui88.com/pages/viewpage.action?pageId=92507929)
'
Remind
.
send_markdown
(
token
=
token
,
secret
=
secret
,
title
=
'下班前想一想'
,
text
=
text
,
at
=
at
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment