当前位置:网站首页>Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
2022-07-07 07:47:00 【ADDA_】
Problem description
stay pycharm Reports can be generated normally on , But in jenkins The following error is always reported when running on .
pytest: error: unrecognized arguments: --alluredir=reports
inifile: None
rootdir: D:\xxx
Cause analysis :
A great deal of information has been collected , To sum up :
1、 install allure-pytest And allure-python-commons Our environment is virtual , No pytest Operating environment ;
2、 There are many. python, Make a mistake .
Solution :
in the light of 1 Solution :
1、cmd Input pip list Check the installation , No, allure-pytest perform pip install allure-pytest It should be ok ;
2、 Already installed , Need to be reinstalled allure-pytest And allure-python-commons, It's best to uninstall both , Otherwise, there may be problems , Unload command pip uninstall allure-pytest、pip uninstall allure-python-commons, Installation command pip install allure-pytest、pip install allure-python-commons
边栏推荐
- Why should we understand the trend of spot gold?
- L'externalisation a duré trois ans.
- 【webrtc】m98 screen和window采集
- Weibo publishing cases
- 自定义类加载器加载网络Class
- 【obs】win-capture需要winrt
- Interviewer: what development models do you know?
- 【Unity】物体做圆周运动的几个思路
- Jenkins remote build project timeout problem
- 解决问题:Unable to connect to Redis
猜你喜欢
4、 High performance go language release optimization and landing practice youth training camp notes
【Liunx】进程控制和父子进程
misc ez_ usb
How to reduce inventory with high concurrency on the Internet
[webrtc] M98 screen and window acquisition
【p2p】本地抓包
探索Cassandra的去中心化分布式架构
Leetcode-543. Diameter of Binary Tree
php导出百万数据
Tencent's one-day life
随机推荐
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
idea添加类注释模板和方法模板
1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
Operation suggestions for today's spot Silver
【webrtc】m98 screen和window采集
[2022 ciscn] replay of preliminary web topics
Invalid table alias or column reference`xxx`
[SUCTF 2019]Game
pytest+allure+jenkins环境--填坑完毕
242. Bipartite graph determination
Robot technology innovation and practice old version outline
What is the difference between TCP and UDP?
Jenkins远程构建项目超时的问题
The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
[mathematical notes] radian
vus.SSR在asynData函数中请求数据的注意事项
@component(““)
图解GPT3的工作原理
nacos
numpy中dot函数使用与解析