[ 
https://issues.jenkins-ci.org/browse/JENKINS-14068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin d'Anjou reopened JENKINS-14068:
--------------------------------------


If I understand correctly:

The run condition is true: action is executed
The run condition is false: action is NOT executed
The run condition cannot be evaluated: action is determined by the choice made 
by "On evaluation failure"

Now, after I download the Fail the Build Plugin, I can't use it with the 
Flexible Publish plugin. I will attach an example.
                
> Mark build unstable does not work
> ---------------------------------
>
>                 Key: JENKINS-14068
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-14068
>             Project: Jenkins
>          Issue Type: Bug
>          Components: flexible-publish
>    Affects Versions: current
>            Reporter: Martin d'Anjou
>            Assignee: bap
>         Attachments: flexible_publish_bug.png, 
> flexible_publish_does_not_have_set_the_build_state.png
>
>
> To reproduce:
> Run? File exists
> File: file.html
> Base directory: Workspace
> On evaluation failure: "Mark the build unstable"
> Action: Publish HTML reports
> HTML Directory to archive: <empty>
> Index page: file.html
> Report Title: HTML Report
> Keep passed HTML report: unchecked
> Sample console output:
> {noformat}
> Started by user anonymous
> Building in workspace /home/deepchip/.jenkins/jobs/deepchip-test/workspace
> Run condition [File exists] enabling prebuild for step [Publish HTML reports]
> [workspace] $ /bin/bash /tmp/hudson8053411243245269594.sh
> /mnt/homes/home/deepchip/.jenkins/jobs/deepchip-test/workspace
> Run condition [File exists] preventing perform for step [Publish HTML reports]
> Finished: SUCCESS
> {noformat}
> It finished with SUCCESS, it should be UNSTABLE.

--
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