Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65416

Pyenv plugin centers all elements on job configuration page since Jenkins 2.283

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • pyenv-plugin
    • None

      Steps to reproduce:

      1. Install a new jenkins installation (2.283 or newer)
      2. Use default recommended plugins
      3. Create empty freestyle job
      4. Install pyenv plugin (0.0.7)
      5. View the configuration of the job created earlier

      Nearly all visual elements are now center aligned, including the content of any shell scripts, which makes for a "less than ideal" user experience.

      To verify that this is actually caused (or triggered) by the pyenv plugin and not one of its dependencies:

      1. uninstall pyenv
      2. restart jenkins
      3. view configuration of job

      Alignment has now been restored

      This problem does not occur when using Jenkins 2.82 or older. Unfortunately I have very little knowledge about web development so I'm unable to provide a detailed analysis as to why this is actually happening. I did notice that this plugin is written in Ruby (which makes it even harder for me to analyze this).

          [JENKINS-65416] Pyenv plugin centers all elements on job configuration page since Jenkins 2.283

          Oleg Nenashev added a comment -

          Not sure what causes that. I would assume tables-to-divs, but https://github.com/jenkinsci/pyenv-plugin/blob/master/views/pyenv_wrapper/config.erb looks pretty sane. CC timja fqueiruga. We plan to deprecate and remove this plugin as a part of Ruby runtime deprecation in https://github.com/jenkins-infra/jenkins.io/pull/4256 , so probably it will be won't fix. I am not sure the plugin is still releasable 

          Oleg Nenashev added a comment - Not sure what causes that. I would assume tables-to-divs, but https://github.com/jenkinsci/pyenv-plugin/blob/master/views/pyenv_wrapper/config.erb  looks pretty sane. CC timja fqueiruga . We plan to deprecate and remove this plugin as a part of Ruby runtime deprecation in https://github.com/jenkins-infra/jenkins.io/pull/4256  , so probably it will be won't fix. I am not sure the plugin is still releasable 

          It's not a blocker for us, we already converted all our jobs that used pyenv to Pipeline jobs and uninstalled the pyenv plugin. We're using the Pyenv Pipeline Plugin now instead.

          Thanks for pointing out that deprecation announcement, I see one or two other plugins in that list that our organization is using. We'll move to alternatives ahead of time.

          Daniel van den Ouden added a comment - It's not a blocker for us, we already converted all our jobs that used pyenv to Pipeline jobs and uninstalled the pyenv plugin. We're using the Pyenv Pipeline Plugin now instead. Thanks for pointing out that deprecation announcement, I see one or two other plugins in that list that our organization is using. We'll move to alternatives ahead of time.

          Basil Crow added a comment -

          Basil Crow added a comment - See Deprecating non-Java plugins .

            Unassigned Unassigned
            dvdouden Daniel van den Ouden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: