当前位置:网站首页>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 .
边栏推荐
- 1140_ SiCp learning notes_ Use Newton's method to solve the square root
- 探索Cassandra的去中心化分布式架构
- 07_ Handout on the essence and practical skills of text measurement and geometric transformation
- After the interview, the interviewer roast in the circle of friends
- 为什么要了解现货黄金走势?
- Talk about seven ways to realize asynchronous programming
- Jenkins remote build project timeout problem
- JS plot flot application - simple curve
- UWB learning 1
- [unity] several ideas about circular motion of objects
猜你喜欢
Bi she - college student part-time platform system based on SSM
[P2P] local packet capturing
Jenkins远程构建项目超时的问题
Is the test cycle compressed? Teach you 9 ways to deal with it
buuctf misc USB
ASEMI整流桥RS210参数,RS210规格,RS210封装
Outsourcing for four years, abandoned
resource 创建包方式
After 95, the CV engineer posted the payroll and made up this. It's really fragrant
Make a bat file for cleaning system garbage
随机推荐
Jenkins远程构建项目超时的问题
Why should we understand the trend of spot gold?
Robot technology innovation and practice old version outline
What is the interval in gatk4??
CentOS7下安装PostgreSQL11数据库
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
242. Bipartite graph determination
知识点滴 - 关于苹果认证MFI
面试结束后,被面试官在朋友圈吐槽了......
Wx is used in wechat applet Showtoast() for interface interaction
After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
buuctf misc USB
电商常规问题part1
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
idea添加类注释模板和方法模板
Redis data migration
[SUCTF 2019]Game
[ANSYS] learning experience of APDL finite element analysis
1140_ SiCp learning notes_ Use Newton's method to solve the square root
Build personal website based on flask