当前位置:网站首页>Pytest+allure+jenkins environment -- completion of pit filling
Pytest+allure+jenkins environment -- completion of pit filling
2022-07-07 07:47:00 【ADDA_】
Project scenario :
Followed others' process once , Found that the environment has been experiencing problems , It's finally settled today !
Problem description
problem 1: Cannot be in jenkins Generate on allure temporary json The report
An error is as follows :
pytest: error: unrecognized arguments: --alluredir=reports inifile: None rootdir: D:\xxx
Solution :
Environmental problems , Not installed allure-pytest And allure-python-commons, Need to download again .
problem 2: see jenkins In the console , Report errors : Can't find XX The location of the package
An error is as follows :
ModuleNotFoundError: No module named 'et_xmlfile'
Cause analysis :
Some packages you installed into the virtual environment / other place , natural pip Uninstallation and reinstallation cannot solve the problem , You can use the following methods .
Solution :
Copy the error package to the corresponding location , There will be a path prompt when an error is reported .
边栏推荐
猜你喜欢
What are the positions of communication equipment manufacturers?
Iterable、Collection、List 的常见方法签名以及含义
KBU1510-ASEMI电源专用15A整流桥KBU1510
知识点滴 - 关于苹果认证MFI
通信设备商,到底有哪些岗位?
@component(““)
解决问题:Unable to connect to Redis
【webrtc】m98 screen和window采集
探索Cassandra的去中心化分布式架构
Why should we understand the trend of spot gold?
随机推荐
[Linux] process control and parent-child processes
leetcode:105. 从前序与中序遍历序列构造二叉树
【斯坦福计网CS144项目】Lab3: TCPSender
[unity] several ideas about circular motion of objects
测试周期被压缩?教你9个方法去应对
SQL优化的魅力!从 30248s 到 0.001s
Tongda injection 0day
Outsourcing for four years, abandoned
Route jump in wechat applet
【性能压测】如何做好性能压测?
[cloud native] how to give full play to memory advantage of memory database
Talk about seven ways to realize asynchronous programming
Wx is used in wechat applet Showtoast() for interface interaction
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
Convolutional neural network -- understanding of pooling
一、Go知识查缺补漏+实战课程笔记 | 青训营笔记
【p2p】本地抓包
leanote私有云笔记搭建
【webrtc】m98 screen和window采集