[JIRA] (JENKINS-38863) Allow empty stage blocks

3 views
Skip to first unread message

stephenconnolly@java.net (JIRA)

unread,
Oct 10, 2016, 9:32:01 AM10/10/16
to jenkinsc...@googlegroups.com
stephenconnolly created an issue
 
Jenkins / Improvement JENKINS-38863
Allow empty stage blocks
Issue Type: Improvement Improvement
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2016/Oct/10 1:31 PM
Priority: Minor Minor
Reporter: stephenconnolly

Usecase:

As a user I want to prototype how the stage visualization will work, so I set up my pipeline like so:

pipeline {
  stages {
    parallel {
      stage ('foo') {
        // placeholder
      }
      stage ('bar') {
        // placeholder
      }
      stage ('manchu') {
        // placeholder
      }
    }
  }
}

but now I cannot view that pipeline visualization as the model fails validation.

Similarly I cannot test adding in the logic of each individual stage piecemeal.

The current workaround requires that I add a echo 'placeholder' step which is non-intuitive to new users

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Feb 27, 2017, 4:38:04 PM2/27/17
to jenkinsc...@googlegroups.com
Andrew Bayer resolved as Won't Fix
Change By: Andrew Bayer
Status: Open Resolved
Resolution: Won't Fix

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:25:23 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Won't Fix
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages