Python 官方文档:入门教程 => 点击学习
项目代码:https://GitHub.com/ellisa11/ynoteiOS-appium-test 项目结构:jenkins配置:Mac配置jenkins步骤:1. 下载Tomcat安装wgetbrew install wget下载
项目代码:
https://GitHub.com/ellisa11/ynoteiOS-appium-test
项目结构:
jenkins配置:
Mac配置jenkins
步骤:
1. 下载Tomcat
安装wget
brew install wget
下载tomcat
wget Http://apache.mirrors.ionfish.org/tomcat/tomcat-9/v9.0.0.M10/bin/apache-tomcat-9.0.0.M10.zip
解压
unaip apache-tomcat-9.0.0.M10.zip mv apache-tomcat-9.0.0.M10.zip tomcat_jenkins
2. 下载jenkin(对应mac)
*.war文件
https://jenkins.io/
3. 将jenkins.war文件复制到jenkins/tomcat_jenkins/WEBapps,然后删除ROOT文件, 重命名jenkins.war -> ROOT.war
4. 在 jenkins/tomcat_jenkins/bin 目录下新建 setenv.sh 文件,
内容如下:
export JENKINS_HOME=/Users/wujia/Documents/jenkins
5. 启动tomcat
cd jenkins/tomcat_jenkins
sh ~/.startup.sh
6.浏览器打开http://127.0.0.1:8080/ 即可
结果中放入html展示
1. 下载并安装 jenkins插个HTMLPublisher
2. html 报告中有乱码,解决办法:
在jenkins系统管理>脚本命令行中输入以下脚本运行:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
--结束END--
本文标题: (八)appium+python+jen
本文链接: https://www.lsjlt.com/news/183284.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0