当前位置:网站首页>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卸载重装解决不了问题,可以使用以下方法。
解决方案:
将报错的包复制到相应的位置,报错的时候会有路径提示。
边栏推荐
- gatk4中的interval是什么??
- 3、 High quality programming and performance tuning practical youth training camp notes
- [OBS] win capture requires winrt
- 按键精灵采集学习-矿药采集及跑图
- Build personal website based on flask
- Summary of customer value model (RFM) technology for data analysis
- [semantic segmentation] - multi-scale attention
- [performance pressure test] how to do a good job of performance pressure test?
- How do I get the last part of a string- How to get the last part of a string?
- L'externalisation a duré trois ans.
猜你喜欢
Summary of customer value model (RFM) technology for data analysis
BGP experiment (1)
[ANSYS] learning experience of APDL finite element analysis
Leetcode-206. Reverse Linked List
2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
95后CV工程师晒出工资单,狠补了这个,真香...
通信设备商,到底有哪些岗位?
Initial experience of teambiion network disk (Alibaba cloud network disk)
Outsourcing for three years, abandoned
IO stream file
随机推荐
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
Outsourcing for four years, abandoned
Tianqing sends instructions to bypass the secondary verification
1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
Idea add class annotation template and method template
科技云报道:从Robot到Cobot,人机共融正在开创一个时代
外包干了三年,废了...
Weibo publishing cases
Rxjs - observable doesn't complete when an error occurs - rxjs - observable doesn't complete when an error occurs
About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
我理想的软件测试人员发展状态
gatk4中的interval是什么??
Leetcode-226. Invert Binary Tree
在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
Make a bat file for cleaning system garbage
[2022 ACTF]web题目复现
[semantic segmentation] - multi-scale attention
URP - shaders and materials - simple lit
Initial experience of teambiion network disk (Alibaba cloud network disk)