随笔分类 -  Pytest+Allure+Git+Jenkins环境搭建

摘要:1. 执行的run.py文件里面需要引入路径 import sys,os sys.path.append('/var/lib/jenkins/workspace/') 用例执行完后的存放的结果目录用绝对路径 pytest.main(['--clean-alluredir']) addopts = - 阅读全文
posted @ 2022-05-22 16:43 爱晚亭的那一片枫叶林 阅读(59) 评论(0) 推荐(0) 编辑
摘要:1.全局工具配置 全局工具配置里面,我们一共要配置3个插件 JDK Git AllureCammandline 的安装路径 JDK: 别名-> jdk1.8.0_291 路径-> /root/test/jdk1.8.0_291 2.项目-配置 General 描述:对该项目的简单描述-这是一个用于做 阅读全文
posted @ 2022-05-20 18:38 爱晚亭的那一片枫叶林 阅读(477) 评论(0) 推荐(0) 编辑
摘要:1.如需卸载旧版本 git --version yum remove git whereis git 检查是否有没删的文件 2.安装Git 点击查看代码 yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel cu 阅读全文
posted @ 2022-05-19 18:05 爱晚亭的那一片枫叶林 阅读(365) 评论(0) 推荐(0) 编辑
摘要:下载安装allure插件 插件名称:Allure Jenkins Plugin 1.系统管理-插件管理-搜索:allure安装 2.重启jenkons: service jenkins restart 系统管理-全局工具配置 会看到 Allure Commandline插件 选择具体项目-配置-构建 阅读全文
posted @ 2022-05-19 16:44 爱晚亭的那一片枫叶林 阅读(533) 评论(0) 推荐(0) 编辑
摘要:1.下载JDK 配置环境变量 使用FileZilla将下载好的 jdk-8u291-linux-x64.tar.gz 上传到服务器 解压:tar -zxvf jdk-linux-x64.tar.gz 配置java环境变量: vi /etc/profile 点击查看代码 export JAVA_HOM 阅读全文
posted @ 2022-05-18 11:58 爱晚亭的那一片枫叶林 阅读(149) 评论(0) 推荐(0) 编辑
摘要:1.进入/etc/yum.repos.d目录下,创建google-chrome.repo文件 cd /etc/yum.repos.d vim google-chrome.repo 2.在文件中添加以下内容 点击查看代码 [google-chrome] name=google-chrome baseu 阅读全文
posted @ 2022-05-18 10:56 爱晚亭的那一片枫叶林 阅读(609) 评论(0) 推荐(0) 编辑
摘要:1.生成Git公钥私钥 右击 --> 选择 Git Bash Here 2.执行命令 ssh-keygen -o -t rsa -b 4096 3.打开公钥,粘贴到gitlab中 4.在Pycharm 中配置检测Git 5.点击VCS --> 从版本控制获取 拉取代码到本地 6.上传代码到gitla 阅读全文
posted @ 2022-05-17 20:56 爱晚亭的那一片枫叶林 阅读(702) 评论(0) 推荐(0) 编辑
摘要:1.在本地安装git Git-2.31.1-64-bit.exe 2.在本地安装小乌龟 TortoiseGit-2.12.0.0-64bit (1).msi TortoiseGit-LanguagePack-2.12.0.0-64bit-zh_CN.msi 3.在任一位置右击--> Tortoise 阅读全文
posted @ 2022-05-17 18:42 爱晚亭的那一片枫叶林 阅读(997) 评论(0) 推荐(0) 编辑
摘要:1.安装依赖包 yum install -y curl policycoreutils-python openssh-server openssh-clients systemctl enable sshd systemctl start sshd firewall-cmd --permanent 阅读全文
posted @ 2022-05-17 16:11 爱晚亭的那一片枫叶林 阅读(177) 评论(0) 推荐(0) 编辑
摘要:1.下载python3源码包 打开地址,选择需要的版本 https://www.python.org/ftp/python wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz 2.下载python3编译的依赖包 yum inst 阅读全文
posted @ 2022-05-17 14:56 爱晚亭的那一片枫叶林 阅读(126) 评论(0) 推荐(0) 编辑
摘要:修改/etc/gdm/custom.conf 文件 修改[daemon]选项 AutomaticLoginEnable=true AutomaticLogin=root TimedLoginEnable=true 修改[security] AllowRoot=true 重启系统 阅读全文
posted @ 2022-05-17 13:51 爱晚亭的那一片枫叶林 阅读(637) 评论(0) 推荐(0) 编辑
摘要:VMware Workstation Pro 安装:略 centos7 安装:https://blog.csdn.net/qq_41057009/article/details/122944871 https://blog.csdn.net/weixin_43671437/article/detai 阅读全文
posted @ 2022-05-17 11:49 爱晚亭的那一片枫叶林 阅读(72) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示