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

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

    XMLWordPrintable

Details

    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

          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

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

          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.

          Hi mustafau

          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 ?

           

          raphc Raphael CHAUMIER added a comment - Hi  mustafau 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  ?  

          To check

          raphc Raphael CHAUMIER added a comment - To check

          Done

          raphc Raphael CHAUMIER added a comment - Done

          People

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

            Dates

              Created:
              Updated:
              Resolved: