Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide indication of waiting for executor #486

Open
mrjoel opened this issue Aug 23, 2024 · 0 comments
Open

Provide indication of waiting for executor #486

mrjoel opened this issue Aug 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mrjoel
Copy link

mrjoel commented Aug 23, 2024

What feature do you want to see added?

The pipeline console in almost all cases is better than the regular console, and I'm starting to evaluate making it the default. There is one main case I've been running into that where it doesn't give me the same useful status.

For a pipeline using an agent label where all are busy, the default console output provides the status message below which conveys status of being blocked.

HH:MM:SS Waiting for next available executor on 'label'

However, when viewing the same blocked state in the Pipeline Console display, all I get is the the spinning blue icon with three dots. The stage card itself just displays the stage name, started, queued, and duration times, along with "Running" and the view as plain text link (which just shows "No logs found").

Ideally, instead of the misleading "Running" status it would indicate queued, or some other way of indicating waiting on a particular label (with link to view label as regular console would be great as well).

As an example, my pipeline looks something like the skeleton below. The "Prep Work" stage runs to completion, and I just see the spinning on each of the "Build" stages waiting for agent.

pipeline {
  agent none
  stages {
    stage("Prep Work") { ... }
    stage("Build") {
      parallel {
        stage("Linux") {
          agent { label "linux && (label || hostname)" }
          steps { ... }
        }
        stage("Windows") {
          agent { label "windows && (label || hostname)" }
          steps { ... }
        }
      }
    }
  }

Upstream changes

No response

Are you interested in contributing this feature?

No response

@mrjoel mrjoel added the enhancement New feature or request label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant