上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 51 下一页
摘要: 1. 语法 pipeline { agent { node { // 节点名称 label 'remote_node1' customWorkspace "${env.JOB_NAME}/${env.BUILD_NUMBER}" } } } 参考:官网资料 阅读全文
posted @ 2022-02-16 21:01 代码诠释的世界 阅读(922) 评论(0) 推荐(0)
摘要: 1. 安装postfixadmin https://www.cnblogs.com/fireblackman/p/15799597.html 2. 安装postgres https://www.cnblogs.com/fireblackman/p/15740550.html 3. 安装postfix 阅读全文
posted @ 2022-02-16 20:57 代码诠释的世界 阅读(1398) 评论(0) 推荐(0)
摘要: 1、 解决方式 # 使用下列方式安装 python3 -m pip install xxx 参考链接:https://blog.csdn.net/sandalphon4869/article/details/107693774 阅读全文
posted @ 2022-02-16 20:51 代码诠释的世界 阅读(3534) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2022-02-16 20:43 代码诠释的世界 阅读(156) 评论(0) 推荐(0)
摘要: class WsClient(object): def __init__(self, url): self.url = url async def test(self): async with websockets.connect(self.url + '/test') as websocket: 阅读全文
posted @ 2022-02-16 20:36 代码诠释的世界 阅读(990) 评论(0) 推荐(0)
摘要: 1. 新建流水线项目 2. 配置jenkins流水线项目触发方式为Opened Merge Request Events 配置目标分支和生成token 3. gitlab添加jenkins项目的webhook 强制拦截配置 4. 配置流水线 pipeline { agent { node { // 阅读全文
posted @ 2022-02-14 18:06 代码诠释的世界 阅读(1920) 评论(0) 推荐(0)
摘要: 1. 使用cleanWs stage('Clean') { steps { cleanWs( cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanW 阅读全文
posted @ 2022-02-14 17:23 代码诠释的世界 阅读(3148) 评论(0) 推荐(0)
摘要: 1. 处理方法 sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade 2. 提示截图 阅读全文
posted @ 2022-02-14 16:07 代码诠释的世界 阅读(518) 评论(0) 推荐(0)
摘要: 1. 使用git merge方法合并master分支代码到自己分支 git checkout master # 切换本地分支为master git pull # 更新本地分支master代码为远程最新代码 git checkout [自己的分支名] # 切换到自己的分支 git merge mast 阅读全文
posted @ 2022-02-14 15:51 代码诠释的世界 阅读(14071) 评论(0) 推荐(0)
摘要: 1. 查询安装包版本 网站:https://packages.ubuntu.com/ 2. apt-cache madison <<package name>>查询 其他操作 apt-cache madison vimapt-cache policy vimapt-cache showpkg vim 阅读全文
posted @ 2022-02-14 15:26 代码诠释的世界 阅读(1443) 评论(0) 推荐(0)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 51 下一页