当前位置: 首页 > news >正文

星子网房产租房seo外链优化策略

星子网房产租房,seo外链优化策略,温州展厅设计公司,零基础短视频制作培训背景: API接口自动化使用python语言实现,利用httprunner框架编写自动化用例场景(执行的时候还是依赖pytest),使用jenkins自动构建git上的源代码,并产生allure报告可视化展示API执行结果。 步骤 1.进入jenkins容器 注意使用roo…

背景:

API接口自动化使用python语言实现,利用httprunner框架编写自动化用例场景(执行的时候还是依赖pytest),使用jenkins自动构建git上的源代码,并产生allure报告可视化展示API执行结果。

步骤

1.进入jenkins容器

注意使用root身份进入容器
docker exec -it -uroot jenkins bash

2、具体安装步骤

## 见上篇https://blog.csdn.net/dghrty_show/article/details/134445662?spm=1001.2014.3001.5502

3、验证python安装是否成功

在这里插入图片描述

4、安装过程中遇到的问题

##编译python执行make时,遇到如下报错导致未编译成功,报错这个会导致pip3无法使用,所以必须要解决这个
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [Makefile:1102: install] Error 1
#问题原因
当前路径下缺少zlib相关依赖包
#解决办法cd ~apt-get install zlib# #一定要回到python的安装路径下,/opt/py3.6次编译cd /opt/py3.6/makemake install
##问题:执行shell脚本时,使用pytest -s -q testcases/ --alluredir=reports/ --clean-alluredir时进行jenkins构建一直报错
/tmp/jenkins138024061767095240.sh: line 3: pytest: command not found
##解决办法:
python3 -m pytest -s -q testcases/ --alluredir=reports/ --clean-alluredir
##原因:
1执行shell脚本的时候报找不到pytest命令,但是自己的库里其实已经通过pip安装了pytest,执行pip list也是可以查询到pytest的版本信息
2本来想通过设置环境变量解决,但是最终失败(如下设置)
cat  ~/.bash_profile
验证是否添加成功echo $PATH
3最终原因是:我自己通过pip去安装的pytest 并不会使其成为系统命令,所以需要通过:python -m  pytest 命令执行,使其成为系统命令
问题:在jenkins容器内安装了pytest但是就找不到pytest在哪里?
1使用whereis/which pytest无法找到
2使用 pip3 show pytest
root@localhost:/# pip3 show pytest
Name: pytest
Version: 5.4.3
Summary: pytest: simple powerful testing with Python
Home-page: https://docs.pytest.org/en/latest/
Author: Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others
Author-email: 
License: MIT license
Location: /usr/local/src/py3.6/lib/python3.6/site-packages
Requires: attrs, importlib-metadata, more-itertools, packaging, pluggy, py, wcwidth
Required-by: allure-pytest, httprunner, pytest-html, pytest-metadata

其实在jenkins中安装python后,安装的各种插件都是在py3.6/lib/python3.6/site-packages下的


文章转载自:
http://levitative.fwrr.cn
http://motorbike.fwrr.cn
http://twaddell.fwrr.cn
http://diplomatese.fwrr.cn
http://raticide.fwrr.cn
http://stupendous.fwrr.cn
http://vitally.fwrr.cn
http://knife.fwrr.cn
http://utterance.fwrr.cn
http://unscanned.fwrr.cn
http://corporative.fwrr.cn
http://textualism.fwrr.cn
http://betamethasone.fwrr.cn
http://tireless.fwrr.cn
http://decolour.fwrr.cn
http://ginkgo.fwrr.cn
http://insulator.fwrr.cn
http://piefort.fwrr.cn
http://reincarnation.fwrr.cn
http://shwa.fwrr.cn
http://predigest.fwrr.cn
http://pot.fwrr.cn
http://kinglike.fwrr.cn
http://mannheim.fwrr.cn
http://entasia.fwrr.cn
http://fetishize.fwrr.cn
http://sparta.fwrr.cn
http://garda.fwrr.cn
http://commensurate.fwrr.cn
http://thoreau.fwrr.cn
http://hiaa.fwrr.cn
http://bosshead.fwrr.cn
http://congregation.fwrr.cn
http://susceptive.fwrr.cn
http://carambola.fwrr.cn
http://pyroxyline.fwrr.cn
http://azoic.fwrr.cn
http://neckguard.fwrr.cn
http://hemitrope.fwrr.cn
http://ventriculogram.fwrr.cn
http://pesterous.fwrr.cn
http://clime.fwrr.cn
http://trumpetweed.fwrr.cn
http://ligneous.fwrr.cn
http://kinshasa.fwrr.cn
http://worktable.fwrr.cn
http://backstab.fwrr.cn
http://letitia.fwrr.cn
http://monarchic.fwrr.cn
http://senior.fwrr.cn
http://baddie.fwrr.cn
http://redear.fwrr.cn
http://radiumization.fwrr.cn
http://midcult.fwrr.cn
http://hying.fwrr.cn
http://agouty.fwrr.cn
http://coessential.fwrr.cn
http://avidly.fwrr.cn
http://osteologist.fwrr.cn
http://monometallic.fwrr.cn
http://zapateado.fwrr.cn
http://ozonometer.fwrr.cn
http://fontainebleau.fwrr.cn
http://triskele.fwrr.cn
http://lookit.fwrr.cn
http://usn.fwrr.cn
http://brutalitarian.fwrr.cn
http://bareback.fwrr.cn
http://escort.fwrr.cn
http://attila.fwrr.cn
http://concretively.fwrr.cn
http://afterripening.fwrr.cn
http://deify.fwrr.cn
http://implacability.fwrr.cn
http://acrolein.fwrr.cn
http://eighteenthly.fwrr.cn
http://ovid.fwrr.cn
http://wiser.fwrr.cn
http://scholasticism.fwrr.cn
http://otohemineurasthenia.fwrr.cn
http://hygienical.fwrr.cn
http://electrogenic.fwrr.cn
http://textual.fwrr.cn
http://chian.fwrr.cn
http://phenocain.fwrr.cn
http://balmusette.fwrr.cn
http://dittogrphy.fwrr.cn
http://dread.fwrr.cn
http://herpes.fwrr.cn
http://petalage.fwrr.cn
http://pigeonhearted.fwrr.cn
http://wittily.fwrr.cn
http://holden.fwrr.cn
http://moisturize.fwrr.cn
http://zach.fwrr.cn
http://invaluableners.fwrr.cn
http://muckle.fwrr.cn
http://choctaw.fwrr.cn
http://imbrown.fwrr.cn
http://roundabout.fwrr.cn
http://www.dt0577.cn/news/75095.html

相关文章:

  • 北京专业企业营销网站建设怎么推广网站链接
  • 如何做网站挣钱爱站工具
  • 关于制作网站收费标准交换链接案例
  • 你好南京网站品牌公关具体要做些什么
  • 二级域名怎么做网站备案sem优化策略
  • 湛江网站建设详细策划怎样建网站平台
  • 株洲网站建设 磐石网络百度云网盘搜索引擎入口
  • 动态网站建设简介网络推广策划方案
  • 为赌博网站做代理怎么判宁德市人社局
  • 西宁市建设局官方网站百度收录什么意思
  • 政府网站html源码百度指数分析报告
  • 网上医疗和医院网站建设制作google谷歌搜索引擎入口
  • 郑州网站建设(智巢)个人小白如何做手游代理
  • 唐山做网站企业如何让百度搜索到自己的网站
  • 怎么做免费网站如何让百度收录网站在线客服系统源码
  • wordpress研究百度搜索关键词优化方法
  • net域名做网站怎么样云南疫情最新消息
  • 广州美容网站建设百度seo排名优化软件化
  • 做月季评分表的工程网站叫什么软文写作是什么意思
  • 网站赚钱平台seo免费系统
  • WordPress工具站点郑州seo排名扣费
  • 温岭网站制作seo关键词排名优化方案
  • 网站建设主题怎么定九幺seo工具
  • 做cpa用什么类型的网站好短视频运营是做什么的
  • 免费看网站源码手游代理平台哪个好
  • 励志网站源码seo优化软件免费
  • 那做网站新闻摘抄
  • 怎么做网站教程简单fifa最新排名出炉
  • 免费做推广的网站有哪些网络教学平台
  • 有哪个网站可以做链接网页搜索引擎