- 博客(4)
- 收藏
- 关注
原创 pipenv学习记录
电脑环境:windows 7系统python 3.6pipenv是什么,可以做什么不需要手动创建虚拟环境,Pipenv 为你自动创建。简单地说就是 pipenv 和 virtualenv 一起工作。管理 requirements.txt 文件会导致一些问题,所以 Pipenv 用 Pipfile 和 Pipfile.lock 替代 requirements.txt,更适合于一般的使用...
2018-09-26 16:16:37 451
原创 使用python进行Linux服务器监测,画CPU使用率和内存占用图
整体思想使用python包psutil 获取linux服务器CPU、内存等相关数据数据保存在本地或者保存在数据库读取数据,使用python包pyecharts画图使用Flask,页面前端访问一、pstuil 的安装和使用,保存数据pip install pstuilimport psutilimport timeimport MySQLdb as mysqldb = my...
2018-09-20 15:37:48 11395 1
原创 Jenkins配置allure,生成测试报告
Jenkins配置allure系统环境: centos xxx jenkins版本 xxx步骤安装 pytest-allure-adaptor;使用命令 pip install pytest-allure-adaptorJenkins安装allure插件;插件名 Allure Jenkins PluginJenkins系统管理——全局工具配置——Allure Comma...
2018-09-14 09:43:10 14355
原创 Jenkins在执行JUnit报告时报错Test reports were found but none of them are new. Did leafNodes run? 问题解决
问题背景Jenkins增加了构建后生成测试报告的配置,构建失败,报错。 ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did leafNodes run? For example, /var/lib/jenkins/wo...
2018-09-10 13:48:17 6651
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人