随笔分类 - Tools
摘要:1. 官网 https://www.jenkins.io/doc/ https://robotframework.org/ https://docs.qameta.io/allure/#_jenkins 2. 安装allure https://www.cnblogs.com/fireblackman
阅读全文
摘要:1. 问题 appledeMacBook-Pro:~ apple$ gradle -version ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk Please set the JAVA_HOME var
阅读全文
摘要:1. 问题现象 appledeMacBook-Pro:~ apple$ allure -version ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk Please set the JAVA_HOME v
阅读全文
摘要:1. TFS https://tfs.visualstudio.com 2. JIRA(常用) https://www.atlassian.com/zh/software/jira 3. 禅道(常用) https://www.zentao.net/ 4. Teambitionhttps://www.
阅读全文
摘要:1. 项目地址 https://github.com/mjpclab/go-http-file-server/tree/v1.8.4 https://gitee.com/mjpclab/go-http-file-server/ 2. 相关使用介绍 https://www.oschina.net/ne
阅读全文
摘要:1. 原因是目录modules/xxxxx下出现了.git, 可能是在docker里操作时产生的 2. 解决办法 cd modules/xxxxx find -name '.git*' |xargs rm -rf
阅读全文
摘要:1. 首先你要可以连接到数据库 数据库配置文件地址 sudo vim /etc/postfixadmin/dbconfig.inc.php 2. 使用php脚本生成加密后的脚本,然后替换数据库中的passwd vim reset_passwd.php<?php echo md5crypt("输入你自
阅读全文
摘要:参考链接:https://www.cnblogs.com/deeptester-vv/p/14777422.html
阅读全文
摘要:1. 测试用例有失败时,会导致构建结果为unstable, 这个没啥关系 2. unstable https://github.com/jenkinsci/allure-plugin/issues/13 https://www.icode9.com/content-4-784901.html
阅读全文
摘要:1. buildResult是针对整个Stages过程而言,stageResult是针对该Stage而言,而无论buildResult还是stageResult他们都有以下状态 always 不论当前状态是什么,都执行changed 只要当前完成状态与上一次完成状态不同就执行fixed 上一次完成状
阅读全文
摘要:1. 流水线语法 node { stage('Example') { if (env.BRANCH_NAME == 'master') { echo 'I only execute on the master branch' } else { echo 'I execute elsewhere' }
阅读全文
摘要:1. 官网链接 https://pytest-dependency.readthedocs.io/en/stable/ 这篇文章讲的很细了, 想了解更多, 看官方文档 参考链接:http://t.zoukankan.com/se7enjean-p-13513131.html
阅读全文
摘要:1. 语法 pipeline { agent { node { // 节点名称 label 'remote_node1' customWorkspace "${env.JOB_NAME}/${env.BUILD_NUMBER}" } } } 参考:官网资料
阅读全文
摘要:1. 安装postfixadmin https://www.cnblogs.com/fireblackman/p/15799597.html 2. 安装postgres https://www.cnblogs.com/fireblackman/p/15740550.html 3. 安装postfix
阅读全文
摘要:1、 解决方式 # 使用下列方式安装 python3 -m pip install xxx 参考链接:https://blog.csdn.net/sandalphon4869/article/details/107693774
阅读全文
摘要:1. 使用deb包安装 # 32位 wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb sudo dpkg -i google-chrome-stable_current_i386.deb # 6
阅读全文
摘要:class WsClient(object): def __init__(self, url): self.url = url async def test(self): async with websockets.connect(self.url + '/test') as websocket:
阅读全文
摘要:1. 新建流水线项目 2. 配置jenkins流水线项目触发方式为Opened Merge Request Events 配置目标分支和生成token 3. gitlab添加jenkins项目的webhook 强制拦截配置 4. 配置流水线 pipeline { agent { node { //
阅读全文
摘要:1. 使用cleanWs stage('Clean') { steps { cleanWs( cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanW
阅读全文