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

svn-revert-plugin: revert for failed builds, too

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • svn-revert-plugin
    • None

      This plugin is a nice idea.
      However, I wonder why it only reverts commits of unstable builds.
      I'd like it to do it for failed builds, too.

          [JENKINS-15082] svn-revert-plugin: revert for failed builds, too

          kutzi added a comment -

          BTW: there doesn't seem to be a svn-revert-plugin JIRA component

          kutzi added a comment - BTW: there doesn't seem to be a svn-revert-plugin JIRA component

          The reason that it only reverts for unstable builds is that a failed build could be caused by some environmental problem aswell.
          For example: if the build fails because the build machine is out of disc space you don't want the commit to be reverted.
          We choosed an approach where we rather reverts less and be sure that the things that are reverted actually contain errors.

          Does this make sense or do you still wan't an option to revert for failed builds?

          Christian Bremer added a comment - The reason that it only reverts for unstable builds is that a failed build could be caused by some environmental problem aswell. For example: if the build fails because the build machine is out of disc space you don't want the commit to be reverted. We choosed an approach where we rather reverts less and be sure that the things that are reverted actually contain errors. Does this make sense or do you still wan't an option to revert for failed builds?

          kutzi added a comment -

          Yes, this makes sense. However, one maybe still wants the possibility to revert failed builds, too. For example, if you have a 'rock solid' build environment, which fails only very seldom.
          I think, it should be configurable.
          BTW: AFAIK some jobs don't know any unstable states. They are either stable or they fail.

          kutzi added a comment - Yes, this makes sense. However, one maybe still wants the possibility to revert failed builds, too. For example, if you have a 'rock solid' build environment, which fails only very seldom. I think, it should be configurable. BTW: AFAIK some jobs don't know any unstable states. They are either stable or they fail.

          Luis Ehlen added a comment -

          Hi guys.
          I really need the option to revert failed builds too.
          Thanks

          Luis Ehlen added a comment - Hi guys. I really need the option to revert failed builds too. Thanks

          I have a similar situation as Luise Ehlen, is there updates to this issue ?

          harshana nanayakkara added a comment - I have a similar situation as Luise Ehlen, is there updates to this issue ?

          This plugin is not under active development. Patches/pull requests are welcome.

          David Pärsson added a comment - This plugin is not under active development. Patches/pull requests are welcome.

            Unassigned Unassigned
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: