当前位置:网站首页>pytest+allure+jenkins环境--填坑完毕
pytest+allure+jenkins环境--填坑完毕
2022-07-07 04:19:00 【ADDA_】
项目场景:
按着别人的流程走了一遍,发现环境一直出现问题,今天终于解决!
问题描述
问题1:无法在jenkins上生成allure临时json报告
报错如下:
pytest: error: unrecognized arguments: --alluredir=reports inifile: None rootdir: D:\xxx
解决方案:
环境问题,没有安装好allure-pytest与allure-python-commons,需要重新下载。
问题2:查看jenkins的控制台,报错:找不到XX包的位置
报错如下:
ModuleNotFoundError: No module named 'et_xmlfile'
原因分析:
有的包你安装到了虚拟环境/其他地方,正常的pip卸载重装解决不了问题,可以使用以下方法。
解决方案:
将报错的包复制到相应的位置,报错的时候会有路径提示。
边栏推荐
- Idea add class annotation template and method template
- IO流 file
- Outsourcing for four years, abandoned
- UWB learning 1
- 智联+影音,AITO问界M7想干翻的不止理想One
- Tongda injection 0day
- Weibo publishing cases
- 1141_ SiCp learning notes_ Functions abstracted as black boxes
- What is the difference between TCP and UDP?
- 95后CV工程师晒出工资单,狠补了这个,真香...
猜你喜欢

【斯坦福计网CS144项目】Lab3: TCPSender

3、 High quality programming and performance tuning practical youth training camp notes
![[GUET-CTF2019]虚假的压缩包](/img/a2/7da2a789eb49fa0df256ab565d5f0e.png)
[GUET-CTF2019]虚假的压缩包

聊聊异步编程的 7 种实现方式

@component(““)

Model application of time series analysis - stock price prediction

URP - shaders and materials - simple lit

UWB learning 1

2、 Concurrent and test notes youth training camp notes

Bi she - college student part-time platform system based on SSM
随机推荐
Invalid table alias or column reference`xxx`
numpy中dot函数使用与解析
Mutual conversion between InputStream, int, shot, long and byte arrays
Resource create package method
【斯坦福计网CS144项目】Lab3: TCPSender
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
242. Bipartite graph determination
gatk4中的interval是什么??
leanote私有云笔记搭建
【性能压测】如何做好性能压测?
抽絲剝繭C語言(高階)數據的儲存+練習
面试结束后,被面试官在朋友圈吐槽了......
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
3、 High quality programming and performance tuning practical youth training camp notes
../ And/
智联+影音,AITO问界M7想干翻的不止理想One
解决could not find or load the Qt platform plugin “xcb“in ““.
JS plot flot application - simple curve
After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
Implementing data dictionary with JSP custom tag