在Jenkins中构建后执行Shell脚本 [英] Execute Shell Script after post build in Jenkins

查看:3316
本文介绍了在Jenkins中构建后执行Shell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果在Jenkins中进行后构建后构建通过或失败,我将尝试执行Shell脚本.除了运行目标外,我在后期构建中看不到此选项来执行一些Shell脚本.

I am trying to execute a shell script if either the build pass or fails after post-build in Jenkins. I cannot see this option in post build to execute some shell script except for running a target.

推荐答案

使用生成后任务插件.

这篇关于在Jenkins中构建后执行Shell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆