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

          Daniel van den Ouden created issue -
          Daniel van den Ouden made changes -
          Environment New: Ubuntu 16.04 64 bit
          Openjdk 1.8.0_181

          Jenkins: 2.289
          OS: Linux - 4.4.0-137-generic
          ---
          sshd:3.0.3
          cloudbees-folder:6.15
          trilead-api:1.0.13
          antisamy-markup-formatter:2.1
          structs:1.22
          workflow-step-api:2.23
          token-macro:2.15
          build-timeout:1.20
          credentials:2.3.18
          ssh-credentials:1.18.2
          plain-credentials:1.7
          credentials-binding:1.24
          scm-api:2.6.4
          workflow-api:2.42
          timestamper:1.12
          script-security:1.76
          plugin-util-api:2.1.0
          font-awesome-api:5.15.2-2
          popper-api:1.16.1-2
          jquery3-api:3.6.0-1
          bootstrap4-api:4.6.0-3
          snakeyaml-api:1.27.0
          jackson2-api:2.12.3
          echarts-api:5.0.2-1
          display-url-api:2.3.4
          workflow-support:3.8
          checks-api:1.7.0
          junit:1.49
          matrix-project:1.18
          resource-disposer:0.15
          ws-cleanup:0.39
          ant:1.11
          durable-task:1.35
          workflow-durable-task-step:2.38
          command-launcher:1.5
          jdk-tool:1.5
          bouncycastle-api:2.20
          ace-editor:1.1
          workflow-scm-step:2.12
          workflow-cps:2.90
          workflow-job:2.40
          apache-httpcomponents-client-4-api:4.5.13-1.0
          mailer:1.34
          workflow-basic-steps:2.23
          gradle:1.36
          pipeline-milestone-step:1.3.2
          pipeline-input-step:2.12
          pipeline-stage-step:2.5
          pipeline-graph-analysis:1.10
          pipeline-rest-api:2.19
          handlebars:3.0.8
          momentjs:1.1.1
          pipeline-stage-view:2.19
          pipeline-build-step:2.13
          pipeline-model-api:1.8.4
          pipeline-model-extensions:1.8.4
          jsch:0.1.55.2
          git-client:3.7.1
          git-server:1.9
          workflow-cps-global-lib:2.18
          branch-api:2.6.3
          workflow-multibranch:2.23
          pipeline-stage-tags-metadata:1.8.4
          pipeline-model-definition:1.8.4
          lockable-resources:2.10
          workflow-aggregator:2.6
          jjwt-api:0.11.2-9.c8b45b8bb173
          okhttp-api:3.14.9
          github-api:1.123
          git:4.7.1
          github:1.33.1
          github-branch-source:2.10.2
          pipeline-github-lib:1.0
          ssh-slaves:1.31.7
          matrix-auth:2.6.6
          pam-auth:1.6
          ldap:2.5
          email-ext:2.82
          windows-slaves:1.7
          ruby-runtime:0.12
          external-monitor-job:1.7
          pyenv:0.0.7
          Result: [Plugin:sshd, Plugin:cloudbees-folder, Plugin:trilead-api, Plugin:antisamy-markup-formatter, Plugin:structs, Plugin:workflow-step-api, Plugin:token-macro, Plugin:build-timeout, Plugin:credentials, Plugin:ssh-credentials, Plugin:plain-credentials, Plugin:credentials-binding, Plugin:scm-api, Plugin:workflow-api, Plugin:timestamper, Plugin:script-security, Plugin:plugin-util-api, Plugin:font-awesome-api, Plugin:popper-api, Plugin:jquery3-api, Plugin:bootstrap4-api, Plugin:snakeyaml-api, Plugin:jackson2-api, Plugin:echarts-api, Plugin:display-url-api, Plugin:workflow-support, Plugin:checks-api, Plugin:junit, Plugin:matrix-project, Plugin:resource-disposer, Plugin:ws-cleanup, Plugin:ant, Plugin:durable-task, Plugin:workflow-durable-task-step, Plugin:command-launcher, Plugin:jdk-tool, Plugin:bouncycastle-api, Plugin:ace-editor, Plugin:workflow-scm-step, Plugin:workflow-cps, Plugin:workflow-job, Plugin:apache-httpcomponents-client-4-api, Plugin:mailer, Plugin:workflow-basic-steps, Plugin:gradle, Plugin:pipeline-milestone-step, Plugin:pipeline-input-step, Plugin:pipeline-stage-step, Plugin:pipeline-graph-analysis, Plugin:pipeline-rest-api, Plugin:handlebars, Plugin:momentjs, Plugin:pipeline-stage-view, Plugin:pipeline-build-step, Plugin:pipeline-model-api, Plugin:pipeline-model-extensions, Plugin:jsch, Plugin:git-client, Plugin:git-server, Plugin:workflow-cps-global-lib, Plugin:branch-api, Plugin:workflow-multibranch, Plugin:pipeline-stage-tags-metadata, Plugin:pipeline-model-definition, Plugin:lockable-resources, Plugin:workflow-aggregator, Plugin:jjwt-api, Plugin:okhttp-api, Plugin:github-api, Plugin:git, Plugin:github, Plugin:github-branch-source, Plugin:pipeline-github-lib, Plugin:ssh-slaves, Plugin:matrix-auth, Plugin:pam-auth, Plugin:ldap, Plugin:email-ext, Plugin:windows-slaves, Plugin:ruby-runtime, Plugin:external-monitor-job, Plugin:pyenv]

          Installed with apt-get, weekly build

          Browsers used: Firefox, Safari, Chrome

          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.
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-66439 [ JENKINS-66439 ]
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-66416 [ JENKINS-66416 ]

          Basil Crow added a comment -

          Basil Crow added a comment - See Deprecating non-Java plugins .
          Basil Crow made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: