[ 
https://issues.jenkins-ci.org/browse/JENKINS-12793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159147#comment-159147
 ] 

dzy dzy commented on JENKINS-12793:
-----------------------------------

the title is "Why Post Steps and Post-build Actions are not executed after the 
build finished"
                
> Why Post Steps and Post-build Actions  are executed after builded finished
> --------------------------------------------------------------------------
>
>                 Key: JENKINS-12793
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12793
>             Project: Jenkins
>          Issue Type: Bug
>          Components: analysis-core
>         Environment: Windows
>            Reporter: dzy dzy
>            Assignee: Ulli Hafner
>            Priority: Critical
>         Attachments: 11.jpg
>
>
> My question is that The log file is in whole or in part when executed "post 
> step" or "Post-build Actions". How to get the build result.
> I want to get the build result,but there are no any plugins to get the 
> result.So I did below this:
> 1 In my opinion,the "post step" are executed after the build finished. So I 
> cofigured the job and selected "Run regardless of build result" at "post 
> step" ,at the same time there is one bat at "execute windows at batch 
> command".
>   The bat is used to query the two files "build.xml" and "log". But I can not 
> find the string "<result>FAILURE</result>" in the "build.xml" and "Finished: 
> FAILURE" in the file "log".
>   When the build finished,I queried these 2 files on the disk,the strings are 
> exists in the two file.
> 2 I installed one plugin "Post build task" below "Post-build Actions",I put 
> the string "FAILURE"  into the Log text. but the Script did not executed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to