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

Disable restarting stages in jenkinsfile optionally

    XMLWordPrintable

Details

    • Declarative backlog

    Description

      I'd like to switch off the restart stage option.

      My pipelines currently don't work correctly after restarting a stage (I check out git only at first stage...)

      like that: 

      options {
          disableResume()

          disableRestart()
      }

      Attachments

        Issue Links

          Activity

            markewaite Mark Waite added a comment -

            ipdev sorry that you didn't get a response. You can refresh the question by replying to it on the list.

            markewaite Mark Waite added a comment - ipdev sorry that you didn't get a response. You can refresh the question by replying to it on the list.
            ipdev Ivan Pavlovic added a comment -

            Hi markewaite . I did as proposed, but still no answer. I will start creating PRs, as i would like to contribute by fixing the issue. Hopefully, i will get some communication going there. Thanks for helping out so far!

            ipdev Ivan Pavlovic added a comment - Hi markewaite . I did as proposed, but still no answer. I will start creating PRs, as i would like to contribute by fixing the issue. Hopefully, i will get some communication going there. Thanks for helping out so far!
            mkleinaip Mike Klein added a comment -

            Hi! New to this thread but also need this solution for the reasons stated by the OP. Any word on this?

            mkleinaip Mike Klein added a comment - Hi! New to this thread but also need this solution for the reasons stated by the OP. Any word on this?
            ipdev Ivan Pavlovic added a comment -

            mkleinaip PRs are open. However, not merged yet

            ipdev Ivan Pavlovic added a comment - mkleinaip PRs are open. However, not merged yet
            mkleinaip Mike Klein added a comment -

            ipdev, thank you for the update.

            mkleinaip Mike Klein added a comment - ipdev , thank you for the update.

            People

              ipdev Ivan Pavlovic
              hoppej Jan Hoppe
              Votes:
              38 Vote for this issue
              Watchers:
              42 Start watching this issue

              Dates

                Created:
                Updated: