Skip to content

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