Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webhook-test-zsy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张思远
webhook-test-zsy
Commits
e793a186
Commit
e793a186
authored
Jan 02, 2024
by
张思远
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
991f63d1
Pipeline
#186
canceled with stage
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
18 deletions
+90
-18
.gitlab-ci.yml
.gitlab-ci.yml
+29
-18
workflow.yml
workflow.yml
+61
-0
No files found.
.gitlab-ci.yml
View file @
e793a186
build-job
:
stage
:
build
script
:
-
cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
-
git pull
tags
:
stages
:
-
test
test-job1
:
api_test
:
stage
:
test
image
:
node:lts-alpine
script
:
-
cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
-
git pul
l
-
npm install -g stepci
-
setpci run workflow.ym
l
tags
:
-
test
-
sf
deploy-prod
:
stage
:
deploy
script
:
-
cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
-
git pull
tags
:
-
test
# build-job:
# stage: build
# script:
# - cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
# - git pull
# tags:
# - test
# test-job1:
# stage: test
# script:
# - cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
# - git pull
# tags:
# - test
# deploy-prod:
# stage: deploy
# script:
# - cd R:\Website\zsy_dev.cysq.com\webhook-test-zsy
# - git pull
# tags:
# - test
workflow.yml
0 → 100644
View file @
e793a186
version
:
"
1.0"
name
:
gitlab ci/cd test feishuboot
env
:
feishu_url
:
https://notify_test.cysq.com/feishu/feishubot.php
config
:
http
:
baseURL
:
https://notify_test.cysq.com/feishu/feishubot.php
tests
:
feishu
:
steps
:
-
id
:
text
http
:
url
:
${{env.feishu_url}}
method
:
POST
heasers
:
Content-Type
:
application/json
body
:
|
{
"type": "text",
"content": {
"text": "test stepci"
},
"bot_url": "https://open.feishu.cn/open-apis/bot/v2/hook/d96f8dea-5557-44f4-8644-a22e51865b12"
}
check
:
status
:
200
headers
:
Content-Type
:
application/json; charset=utf-8
json
:
status
:
200
msg
:
"
发送成功"
-
id
:
interactive
http
:
url
:
/
method
:
POST
headers
:
Content-Type
:
application/json
body
:
|
{
"type": "interactive",
"content": {
"template_id": "ctp_AA8KI3enztfi",
"env": "stepci 卡片test",
"user": "user",
"time": "time",
"detailUrl": "http://www.baidu.com",
"project_desc": "project_desc",
"project_homepage": "http://www.yahoo.com",
"project_name": "project_name",
"info": "info"
},
"bot_url": "https://open.feishu.cn/open-apis/bot/v2/hook/d96f8dea-5557-44f4-8644-a22e51865b12"
}
check
:
status
:
200
headers
:
Content-Type
:
application/json; charset=utf-8
json
:
status
:
200
msg
:
"
发送成功"
\ 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