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

Unlimited visibility for branch name #341

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fovteltar
Copy link

@Fovteltar Fovteltar commented Feb 12, 2024

Hello!

We met a situation when needed large branch names for parallel stages. But where is no place for big complex names: Fedora 33 - main, Fedora 33 - debug, etc...

This attempt to fix is ugly, but can be a good start point for you.

Maybe it should be as view option flag.
before
after

@Fovteltar Fovteltar requested a review from a team as a code owner February 12, 2024 14:19
@lemeurherve
Copy link
Member

Have you seen #337?

@Fovteltar
Copy link
Author

Fovteltar commented Feb 12, 2024

Have you seen #337?

Wow, thanks, it's really close one :)
Maybe little enhancement: nodeSpacingV must be revaluated per each label size. That will allow us to see content without loosing important information.

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

unfortunately it looks bad with matrix.

this is why the tooltip approach was taken:

image image
pipeline {
    agent none
    stages {
        stage('BuildAndTest') {
            matrix {
                agent any
                axes {
                    axis {
                        name 'PLATFORM'
                        values 'linux', 'windows', 'mac'
                    }
                    axis {
                        name 'BROWSER'
                        values 'firefox', 'chrome', 'safari', 'edge'
                    }
                }
                stages {
                    stage('Build') {
                        steps {
                            echo "Do Build for ${PLATFORM} - ${BROWSER}"
                        }
                    }
                    stage('Test') {
                        steps {
                            echo "Do Test for ${PLATFORM} - ${BROWSER}"
                        }
                    }
                }
            }
        }
    }
}

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.

3 participants