02 2022 档案
摘要:1. 创建多分支流水线 2. sonar创建项目 3. sonar生成token 4. jenkins配置sonar服务器 5. 创建jenkinsfile 6. 测试 参考链接: https://www.freesion.com/article/51961427353/ https://blog.
阅读全文
摘要:参考链接: https://blog.csdn.net/weixin_46902396/article/details/118337250
阅读全文
摘要:1. hub地址 https://hub.docker.com/r/twang2218/gitlab-ce-zh
阅读全文
摘要:1. 官网 https://www.php.net/ 2. 安装 https://www.php.net/manual/zh/ 参考链接: https://blog.csdn.net/cunjie3951/article/details/106900049/
阅读全文
摘要:1. 使用字符串参数构建 2. 配置pipeline stage('Checkout') { steps { script{ branch = branch if (env.gitlabSourceBranch != null) { checkout changelog: true, poll: t
阅读全文
摘要:1. 官网 https://www.testlink.org/ 2. 安装apache2 sudo apt-get install apache2 3. 安装mysql https://www.cnblogs.com/fireblackman/p/15692363.html 4. 安装PHP相关 s
阅读全文
摘要:1. 官网 https://www.testlink.org/ 2. 使用 https://forum.testlink.org/ 参考链接: https://blog.csdn.net/weixin_30530339/article/details/98507987
阅读全文
摘要:1. 官网 https://doc.goldfingerholdings.com/synapsert/latest/zh_cn 2. 使用 3. 其他 zephyrxray 参考链接: https://www.cnblogs.com/huxinping8800/p/14435785.html?ivk
阅读全文
摘要:1. 官网 https://docs.microsoft.com/en-us/windows/wsl/about 2. wsl1和wsl2对比 https://docs.microsoft.com/en-us/windows/wsl/compare-versions#comparing-featur
阅读全文
摘要:1. 官网 https://readthedocs.org/ https://www.sphinx-doc.org/en/master/ 2. 参考链接 https://zhuanlan.zhihu.com/p/264647009
阅读全文
摘要:1.jenkins日志 2. dockerfile FROM openjdk:8u171-jre-alpine ENV JAR_NAME=spring-boot-01-helloworld-quick-0.0.1-SNAPSHOT.jar COPY ./target/$JAR_NAME /apps/
阅读全文
摘要:1. 链接 https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要: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. 官网链接 http://docs.docker.com/compose/install/ 2.项目链接 https://github.com/docker/compose/releases 3. 下载二进制安装 Linux 上我们可以从 Github 上下载它的二进制包来使用,最新发行的版本地
阅读全文
摘要:1. 官网链接 https://goharbor.io/docs/2.4.0/ 2. 项目地址 https://github.com/goharbor/harbor/releases 3. 安装 wget https://storage.googleapis.com/harbor-releases/
阅读全文
摘要:1. 修改hostname sudo vim /etc/hostname sudo vim /etc/hosts 2. 让其立即生效 sudo hostname -F /etc/hostname
阅读全文
摘要: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
阅读全文
摘要:1. 处理方法 sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade 2. 提示截图
阅读全文
摘要:1. 使用git merge方法合并master分支代码到自己分支 git checkout master # 切换本地分支为master git pull # 更新本地分支master代码为远程最新代码 git checkout [自己的分支名] # 切换到自己的分支 git merge mast
阅读全文
摘要:1. 查询安装包版本 网站:https://packages.ubuntu.com/ 2. apt-cache madison <<package name>>查询 其他操作 apt-cache madison vimapt-cache policy vimapt-cache showpkg vim
阅读全文
摘要:1. 查看nginx错误日志 connect() failed (111: Connection refused) while connecting to upstream connect() to unix:/run/php/php7.2-fpm.sock failed (2: No such f
阅读全文
摘要:1. 场景 升级18.04到20.04之后,服务起不来 2. 解决办法 重新安装php7.2-fpm 3.重启 sudo service php7.2-fpm restart
阅读全文
摘要:1. 重置方法 netsh winsock reset 2. 重启电脑, ###### 注意保存文件 shutdown -r -t 30
阅读全文