Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19962

Add the ability to declare a job successful even if there are no changes

    Details

    • Similar Issues:

      Description

      Hello,
      I run some builds every night. I force the execution of those builds because of some quality analysis of projects

      Each one has a "post-build action" which deploys on weblogic server. In order to reduce the server load and to only deploy the updated projects I mark the option "Deploying only when sources changes".

      In some projects, the status is unstable even the unit tests are good.

      I saw on a previous issue (JENKINS-19016) that you changed the job's status from "FAILED" to "UNSTABLE".

      However, it would be nice if this behaviour could be customizable ( eg . add some radio button to choose the expected behaviour.

      Thanks.

      Regards

        Attachments

          Activity

          Hide
          raphc Raphael CHAUMIER added a comment -

          Hi,

          I've just released the 3.4 version of the plugin. Tell me if it's ok then I will close the issue.

          Regards

          Show
          raphc Raphael CHAUMIER added a comment - Hi, I've just released the 3.4 version of the plugin. Tell me if it's ok then I will close the issue. Regards
          Hide
          mustafau Mustafa Ulu added a comment -

          This works when mustExitOnFailure is set to false. If mustExitOnFailure is true build still fails if there are no changes. I will send another PR.

          Show
          mustafau Mustafa Ulu added a comment - This works when mustExitOnFailure is set to false. If mustExitOnFailure is true build still fails if there are no changes. I will send another PR.
          Hide
          raphc Raphael CHAUMIER added a comment -

          Hi Mustafa Ulu

          Sorry for my late response. I didn't see your last comment. Do you talk about the following PR https://github.com/jenkinsci/weblogic-deployer-plugin/pull/13 ?

           

          Show
          raphc Raphael CHAUMIER added a comment - Hi  Mustafa Ulu Sorry for my late response. I didn't see your last comment. Do you talk about the following PR https://github.com/jenkinsci/weblogic-deployer-plugin/pull/13  ?  
          Hide
          raphc Raphael CHAUMIER added a comment -

          To check

          Show
          raphc Raphael CHAUMIER added a comment - To check
          Hide
          raphc Raphael CHAUMIER added a comment -

          Done

          Show
          raphc Raphael CHAUMIER added a comment - Done

            People

            • Assignee:
              raphc Raphael CHAUMIER
              Reporter:
              littlewing alexandre touret
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: