摘要: 背景: 构建test_2任务时,需要先触发test_1先构建,等test_1构建完成后再执行test_2的构建 步骤: 1、安装插件:Parameterized Trigger 2、在test_2任务重增加构建步骤 3、测试下 阅读全文
posted @ 2022-02-23 17:34 秋寻草 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 背景: 命名命令执行了也成功了,但是jenkins标记为失败,且提示 Build step 'Execute shell' marked build as failure 解决: 在步骤“Execute shell”命令最上面添加 #!/bin/bash 解释: 默认情况下,Jenkins采取/bi 阅读全文
posted @ 2022-02-23 14:24 秋寻草 阅读(4734) 评论(0) 推荐(0) 编辑