简体   繁体   中英

Jenkins - Execute Shell as a post build action

I'm trying to use the "Execute shell" from the 'build action' as a post-build task. Is that possible?

I think you are looking for PostBuild Script Plugin . After install this plugin, you can add post-action "Execute Shell" by following these steps:

Add post-build action -->Execute a set of scripts --> Add build Step --> Execute Shell.

在此输入图像描述

Yeah that is possible through one plugin postbuild-task . Through this you can run shell or batch scripts after build step also.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM