Skip to content

Commit 2597506

Browse files
authored
Update README.md
1 parent 1e1a562 commit 2597506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ fi
4949
另,若想实现PipeLine,则需要封装或直接调用views和func里面的Shell脚本。
5050

5151
# NGINX转发请求执行shell
52-
curl -H "dirpath:$PWD" ${host}:81/api/run?name=${JOB_NAME}%20${BRANCH}%200
53-
* 其中,host对应Nginx主机ip,其他为变量
52+
curl -H "dirpath:$PWD" -H "shellpath:${shellpath}" ${host}:81/api/run?name=${JOB_NAME}%20${BRANCH}%200
53+
* PWD不需要改,表示自动化项目代码包路径;host对应Nginx主机ip,shellpath对应路径+TestDeploy,BRANCH对应自动化测试项目代码分支。
5454

5555
# 测试集群自动化启动
5656
需要手动配置**ini/host.ini**文件,格式:${host ip},${account},${password}

0 commit comments

Comments
 (0)