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

Should not be able to re-run a successful pipeline from a favourite card

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      Scope

      • Hide the rerun action on successful state favourite cards

      Original request
      The main dashboard at $JENKINS_URL/jenkins/blue/pipelines allows you to both re-run (sic) and run a pipeline.

      However you should not allow a user to re-run the pipeline as there is no link to what is re-run.
      You can not re-run a job, only a build and given there is no build context displayed it may not be the expecte outcome for a user if they cliecked re-run when a new build had just been kicked off.

      Re-run (replay) should be reserved for displaying soley on a build.

          [JENKINS-42353] Should not be able to re-run a successful pipeline from a favourite card

          James Nord added a comment -

          jamesdumay why is this special for a successful pipeline. a failed pipeline will exhibit exactly the same issues.

          James Nord added a comment - jamesdumay why is this special for a successful pipeline. a failed pipeline will exhibit exactly the same issues.

          James Dumay added a comment -

          teilo we frequently use it to restart our deployment job when it fails. I am not sure about removing it (yours is the first data point).

          James Dumay added a comment - teilo we frequently use it to restart our deployment job when it fails. I am not sure about removing it (yours is the first data point).

          James Dumay added a comment -

          James Dumay added a comment - michaelneale WDYT?

          James Nord added a comment -

          abayer FYI related to the discussion we had the other day about even requiring replay.

          James Nord added a comment - abayer FYI related to the discussion we had the other day about even requiring replay.

          James Nord added a comment - - edited

          jamesdumay at the job level you should never ever use replay as there is zero context as to what is replayed. It confuses users - they expect this to kick off a build, not do the exact same things again.
          Even at the build level I maintain that it is questionable as it is not the path of least surprise

          James Nord added a comment - - edited jamesdumay at the job level you should never ever use replay as there is zero context as to what is replayed. It confuses users - they expect this to kick off a build, not do the exact same things again. Even at the build level I maintain that it is questionable as it is not the path of least surprise

            Unassigned Unassigned
            teilo James Nord
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: