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

Disable restarting stages in jenkinsfile optionally

    XMLWordPrintable

Details

    • Declarative backlog
    • 2.2121.vd87fb_6536d1e

    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

            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.
            mrlov m l added a comment - - edited

            This issue can be closed since PR #560 is merged.

            mrlov m l added a comment - - edited This issue can be closed since PR #560 is merged.
            ipdev Ivan Pavlovic added a comment -

            mrlov Thanks for updating the ticket!

            ipdev Ivan Pavlovic added a comment - mrlov Thanks for updating the ticket!

            People

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

              Dates

                Created:
                Updated:
                Resolved: