当前位置:网站首页>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 .
边栏推荐
- After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
- 探索Cassandra的去中心化分布式架构
- Technology cloud report: from robot to Cobot, human-computer integration is creating an era
- Tencent's one-day life
- idea添加类注释模板和方法模板
- After the interview, the interviewer roast in the circle of friends
- Tongda injection 0day
- JS get all date or time stamps between two time stamps
- 1140_ SiCp learning notes_ Use Newton's method to solve the square root
- BGP experiment (1)
猜你喜欢
[webrtc] M98 screen and window acquisition
Common method signatures and meanings of Iterable, collection and list
三、高质量编程与性能调优实战 青训营笔记
【斯坦福计网CS144项目】Lab4: TCPConnection
ASEMI整流桥RS210参数,RS210规格,RS210封装
Tencent's one-day life
4、 High performance go language release optimization and landing practice youth training camp notes
《动手学深度学习》(四) -- 卷积神经网络 CNN
After the interview, the interviewer roast in the circle of friends
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
随机推荐
基于Flask搭建个人网站
CentOS7下安装PostgreSQL11数据库
《动手学深度学习》(四) -- 卷积神经网络 CNN
Gslx680 touch screen driver source code analysis (gslx680. C)
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
[2022 CISCN]初赛 web题目复现
Invalid table alias or column reference`xxx`
三、高质量编程与性能调优实战 青训营笔记
pytest+allure+jenkins环境--填坑完毕
图解GPT3的工作原理
IO流 file
[ANSYS] learning experience of APDL finite element analysis
What is the difference between TCP and UDP?
Talk about seven ways to realize asynchronous programming
[SUCTF 2019]Game
2022-07-06:以下go语言代码是否会panic?A:会;B:不会。 package main import “C“ func main() { var ch chan struct
四、高性能 Go 语言发行版优化与落地实践 青训营笔记
知识点滴 - 关于苹果认证MFI
3、 High quality programming and performance tuning practical youth training camp notes
1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration