post-build

Running a Post Build script when a Jenkins job is aborted

拜拜、爱过 提交于 2019-12-03 15:12:01
问题 Is there a possible way / plugin that can run a post build script when a Jenkins job is aborted. I do see that the post build plugin provides an action to execute a set of scripts, but these can be run only on 2 options either a successful job or a failed job. 回答1: This question is positively answered here. The Post Build Task plugin is run even if a job is aborted. Use it to search the log text for "Build was aborted" and you can specify a shell script to run. Works like a charm. :-) 回答2: As

Running a Post Build script when a Jenkins job is aborted

走远了吗. 提交于 2019-12-03 04:52:31
Is there a possible way / plugin that can run a post build script when a Jenkins job is aborted. I do see that the post build plugin provides an action to execute a set of scripts, but these can be run only on 2 options either a successful job or a failed job. This question is positively answered here . The Post Build Task plugin is run even if a job is aborted. Use it to search the log text for "Build was aborted" and you can specify a shell script to run. Works like a charm. :-) As far as I know, if a build is aborted, there's no way to execute any build steps (or post build steps) in it any

Post Build exited with code 1

狂风中的少年 提交于 2019-11-28 04:26:34
I have a project with a post build event: copy $(ProjectDir)DbVerse\Lunaverse.DbVerse.*.exe $(TargetDir) It works fine every time on my machine. I have a new developer who always gets the "exited with code 1" error. I had her run the same command in a DOS prompt, and it worked fine. What could be causing this? Is there any way to get to the real error? We are both using Visual Studio 2008. She had a space in one of the folder names in her path, and no quotes around it. The one with the "Pings" helped me... but may be explained a little better... For me the solution was to change: copy $