Execute Shell Script after post build in Jenkins

后端 未结 5 922
天涯浪人
天涯浪人 2020-12-04 23:39

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 exce

5条回答
  •  广开言路
    2020-12-05 00:12

    You'd have to set up the post-build shell script as a separate Jenkins job and trigger it as a post-build step. It looks like you will need to use the Parameterized Trigger Plugin as the standard "Build other projects" option only works if your triggering build is successful.

提交回复
热议问题