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

Disable restarting stages in jenkinsfile optionally

    • Declarative backlog
    • 2.2121.vd87fb_6536d1e

      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()
      }

          [JENKINS-54250] Disable restarting stages in jenkinsfile optionally

          Jan Hoppe created issue -
          Jan Hoppe made changes -
          Summary Original: Diesable restarting stages in jenkinsfile New: Disable restarting stages in jenkinsfile
          Jan Hoppe made changes -
          Link New: This issue is related to JENKINS-45455 [ JENKINS-45455 ]
          Jan Hoppe made changes -
          Summary Original: Disable restarting stages in jenkinsfile New: Disable restarting stages in jenkinsfile optionally
          Andrew Bayer made changes -
          Labels New: stage-restart-improvements
          Andrew Bayer made changes -
          Sprint New: Declarative backlog [ 621 ]
          Andrew Bayer made changes -
          Assignee Original: Andrew Bayer [ abayer ]
          Jordy made changes -
          Rank New: Ranked higher
          Ivan Pavlovic made changes -
          Assignee New: Ivan Pavlovic [ ipdev ]
          James Nord made changes -
          Remote Link New: This issue links to "PR #560 (Web Link)" [ 28532 ]
          James Nord made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: