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

Wrong view for build pipeline plugin

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: build-pipeline-plugin
    • Labels:
    • Environment:
      Jenkins - 1.590,
      build pipeline plugin - 1.4.3,
      server os - centos 7,
      client os - arch linux 3.17.1-1,
      browser - chromium 37.0.2062.120,
      screen - 1366x768.
    • Similar Issues:

      Description

      Wrong view for build pipeline plugin (see first attachment):

      #main-panel width should be 100%, but it is 75%

      Correctly view for build pipeline plugin (see second attachment):

      with next additional style - #side-panel, #main-panel

      { width: 100% }

      Thanks in advance for the solution of this problem!

        Attachments

          Activity

          Hide
          ntumbal ntmba lobo added a comment -

          I am trying to implement your fix in my Jenkins server.
          I have added #main-panel

          {width:100%;}

          in JENKINS_HOME/plugins/build-pipeline/css/main_dashboard.css
          but it does not increase the width of the blue background.
          Am I doing it wrong ?
          Thank you in advance

          Show
          ntumbal ntmba lobo added a comment - I am trying to implement your fix in my Jenkins server. I have added #main-panel {width:100%;} in JENKINS_HOME/plugins/build-pipeline/css/main_dashboard.css but it does not increase the width of the blue background. Am I doing it wrong ? Thank you in advance
          Hide
          ntumbal ntmba lobo added a comment -

          I got it to work.
          I have added #main-panel

          {width:100%;}

          in JENKINS_HOME/plugins/build-pipeline/css/main.css (not in main_dashboard.css)

          Show
          ntumbal ntmba lobo added a comment - I got it to work. I have added #main-panel {width:100%;} in JENKINS_HOME/plugins/build-pipeline/css/main.css (not in main_dashboard.css)
          Hide
          integer Kanstantsin Shautsou added a comment -

          Issue appeared because of some changes in newer jenkins versions, 1.554 works fine

          Show
          integer Kanstantsin Shautsou added a comment - Issue appeared because of some changes in newer jenkins versions, 1.554 works fine
          Hide
          integer Kanstantsin Shautsou added a comment - - edited

          Tested with 1.596.1 and see other effect, fixedGridLayout

          .fixedGridLayout #main-panel {
            padding-left: 370px;
            margin-right: 15px;
            width: 100%
          }
          

          causes indent in 370px even if side-panel is display: none

          Show
          integer Kanstantsin Shautsou added a comment - - edited Tested with 1.596.1 and see other effect, fixedGridLayout .fixedGridLayout #main-panel { padding-left: 370px; margin-right: 15px; width: 100% } causes indent in 370px even if side-panel is display: none
          Hide
          integer Kanstantsin Shautsou added a comment - - edited

          https://github.com/jenkinsci/build-pipeline-plugin/pull/71 tested on 1.596.1 and 1.554.2
          Please test PR somebody

          Show
          integer Kanstantsin Shautsou added a comment - - edited https://github.com/jenkinsci/build-pipeline-plugin/pull/71 tested on 1.596.1 and 1.554.2 Please test PR somebody
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kanstantsin Shautsou
          Path:
          src/main/webapp/css/main.css
          http://jenkins-ci.org/commit/build-pipeline-plugin/565c4e84c9a4771e35f7bb4a0c26de11f6f87a01
          Log:
          [FIXED JENKINS-25666] Adopt for new jenkins core UI

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kanstantsin Shautsou Path: src/main/webapp/css/main.css http://jenkins-ci.org/commit/build-pipeline-plugin/565c4e84c9a4771e35f7bb4a0c26de11f6f87a01 Log: [FIXED JENKINS-25666] Adopt for new jenkins core UI
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kanstantsin Shautsou
          Path:
          src/main/webapp/css/main.css
          http://jenkins-ci.org/commit/build-pipeline-plugin/399fa3afb6ff3a3488e6d98f728a23e3dd96f467
          Log:
          Merge pull request #71 from KostyaSha/fixLayout

          [FIXED JENKINS-25666] Adopt for new jenkins core UI

          Compare: https://github.com/jenkinsci/build-pipeline-plugin/compare/ff490cb5ed1c...399fa3afb6ff

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kanstantsin Shautsou Path: src/main/webapp/css/main.css http://jenkins-ci.org/commit/build-pipeline-plugin/399fa3afb6ff3a3488e6d98f728a23e3dd96f467 Log: Merge pull request #71 from KostyaSha/fixLayout [FIXED JENKINS-25666] Adopt for new jenkins core UI Compare: https://github.com/jenkinsci/build-pipeline-plugin/compare/ff490cb5ed1c...399fa3afb6ff
          Hide
          vstone Jan Vansteenkiste added a comment -

          With Jenkins v1.596.2, layout is broken again.

          Show
          vstone Jan Vansteenkiste added a comment - With Jenkins v1.596.2, layout is broken again.
          Hide
          vstone Jan Vansteenkiste added a comment -

          dashboard view ui failure

          Show
          vstone Jan Vansteenkiste added a comment - dashboard view ui failure
          Show
          integer Kanstantsin Shautsou added a comment - What do you mean under again? Jan Vansteenkiste i don't see https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue#Howtoreportanissue-WhatinformationtoprovideforEnvironmentandDescription , so please open new issue.
          Hide
          vstone Jan Vansteenkiste added a comment - - edited

          beneath, see the attached screenshot:

          Show
          vstone Jan Vansteenkiste added a comment - - edited beneath, see the attached screenshot:
          Hide
          integer Kanstantsin Shautsou added a comment -

          Does it work with 1.596.1?

          Show
          integer Kanstantsin Shautsou added a comment - Does it work with 1.596.1?
          Hide
          vstone Jan Vansteenkiste added a comment -

          Looks like the jenkins version is not the issue. my bad

          To reproduce: Create a dashboard view, add the 'Build pipeline view' as a portlet.

          Show
          vstone Jan Vansteenkiste added a comment - Looks like the jenkins version is not the issue. my bad To reproduce: Create a dashboard view, add the 'Build pipeline view' as a portlet.
          Hide
          integer Kanstantsin Shautsou added a comment -

          Fill new issue.

          Show
          integer Kanstantsin Shautsou added a comment - Fill new issue.
          Hide
          phil_ Philipp Strobel added a comment - - edited

          Hello,

          We currently see that issue with jenkins LTS 1.609.2 and build-pipeline-plugin 1.4.7 (after an upgrade from 1.580.1 / 1.4.5)

          Show
          phil_ Philipp Strobel added a comment - - edited Hello, We currently see that issue with jenkins LTS 1.609.2 and build-pipeline-plugin 1.4.7 (after an upgrade from 1.580.1 / 1.4.5)
          Hide
          resolute Alex Filatov added a comment -

          This fixes the issue by adding float: left in main main.css to the main div of the pipeline plugin:

          #build-pipeline-plugin-content

          { .... float: left; }
          Show
          resolute Alex Filatov added a comment - This fixes the issue by adding float: left in main main.css to the main div of the pipeline plugin: #build-pipeline-plugin-content { .... float: left; }
          Hide
          recena Manuel Recena Soto added a comment -

          This issue seems to be solved with this PR.

          Show
          recena Manuel Recena Soto added a comment - This issue seems to be solved with this PR .

            People

            • Assignee:
              Unassigned
              Reporter:
              filip_kvirin Filip Kvirin
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: