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

Handle no stage and Jenkins step error #363

Closed
wants to merge 1 commit into from

Conversation

timja
Copy link
Member

@timja timja commented Mar 12, 2024

Fixes #357

Testing done

I'll write unit tests later

Submitter checklist

Preview Give feedback

Comment on lines +130 to +132
if (stageNodeStepMap.isEmpty()) {
stageNodeStepMap.put("(no-stage)", new ArrayList<>(stepNodeMap.values()));
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't actually effect the issue like I thought, but it does handle pipelines with no stages nicely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should pipeline erros be displayed in pipeline's console?
1 participant