jenkinsci / build-monitor-plugin

Jenkins Build Monitor Plugin
https://plugins.jenkins.io/build-monitor-plugin/
MIT License
727 stars 280 forks source link

Monitor views stay empty saying user should add projects #828

Closed MarcellBalla closed 1 year ago

MarcellBalla commented 1 year ago

Jenkins and plugins versions report

Environment ```text Jenkins: 2.414.1 OS: Linux - 4.18.0-348.7.1.el8_5.x86_64 Java: 11.0.13 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- Office-365-Connector:4.18.0 ant:481.v7b_09e538fcca antisamy-markup-formatter:159.v25b_c67cd35fb_ apache-httpcomponents-client-4-api:4.5.14-150.v7a_b_9d17134a_5 authentication-tokens:1.4 bootstrap5-api:5.3.0-1 bouncycastle-api:2.28 branch-api:2.1071.v1a_188a_562481 build-monitor-plugin:1.13+build.202205140447 build-timeout:1.28 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:2.0.0 cloudbees-folder:6.848.ve3b_fd7839a_81 command-launcher:100.v2f6722292ee8 commons-httpclient3-api:3.1-3 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-36.vc008c8fcda_7b_ config-file-provider:953.v0432a_802e4d2 credentials:1271.v54b_1c2c6388a_ credentials-binding:631.v861c06d062b_4 data-tables-api:1.12.1-4 display-url-api:2.3.7 docker-commons:1.21 durable-task:504.vb10d1ae5ba2f echarts-api:5.4.0-4 eggplant-runner:0.0.1.252.v8e47de80211e email-ext:2.97 envinject:2.908.v66a_774b_31d93 envinject-api:1.199.v3ce31253ed13 font-awesome-api:6.3.0-2 git:5.0.0 git-client:4.1.0 git-server:99.va_0826a_b_cdfa_d github:1.36.1 github-api:1.303-400.v35c2d8258028 github-branch-source:1701.v00cc8184df93 gradle:2.2 htmlpublisher:1.31 instance-identity:173.va_37c494ec4e5 ionicons-api:56.v1b_1c8c49374e jackson2-api:2.15.1-344.v6eb_55303dc3e jakarta-activation-api:2.0.1-3 jakarta-mail-api:2.0.1-3 javax-activation-api:1.2.0-6 javax-mail-api:1.6.2-9 jaxb:2.3.8-1 jdk-tool:66.vd8fa_64ee91b_d jjwt-api:0.11.5-77.v646c772fddb_0 jquery3-api:3.7.0-1 jsch:0.1.55.61.va_e9ee26616e7 junit:1207.va_09d5100410f ldap:682.v7b_544c9d1512 lockable-resources:1123.v4002ee23c671 mailer:457.v3f72cb_e015e5 matrix-auth:3.1.8 matrix-project:789.v57a_725b_63c79 mina-sshd-api-common:2.10.0-69.v28e3e36d18eb_ mina-sshd-api-core:2.10.0-69.v28e3e36d18eb_ okhttp-api:4.10.0-117.vf786fdfa_22c0 pam-auth:1.10 pipeline-build-step:2.18.1 pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:202.va_d268e64deb_3 pipeline-groovy-lib:629.vb_5627b_ee2104 pipeline-input-step:466.v6d0a_5df34f81 pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2118.v31fd5b_9944b_5 pipeline-model-definition:2.2118.v31fd5b_9944b_5 pipeline-model-extensions:2.2118.v31fd5b_9944b_5 pipeline-rest-api:2.31 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.31 plain-credentials:143.v1b_df8b_d3b_e48 plugin-util-api:3.2.1 resource-disposer:0.20 saferestart:0.7 scm-api:672.v64378a_b_20c60 script-security:1244.ve463715a_f89c snakeyaml-api:1.33-95.va_b_a_e3e47b_fa_4 ssh-agent:295.v9ca_a_1c7cc3a_a_ ssh-credentials:305.v8f4381501156 ssh-slaves:2.854.v7fd446b_337c9 sshd:3.303.vefc7119b_ec23 strict-crumb-issuer:2.1.0 structs:324.va_f5d6774f3a_d timestamper:1.21 token-macro:359.vb_cde11682e0c trilead-api:2.84.v72119de229b_7 variant:59.vf075fe829ccb websocket:1.0.6 websocketin-notification:1.2.1 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1213.v646def1087f9 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:3618.v13db_a_21f0fcf workflow-durable-task-step:1223.v7f1a_98a_8863e workflow-job:1301.v054d9cea_9593 workflow-multibranch:733.v109046189126 workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.44 ```

What Operating System are you using (both controller, and any agents involved in the problem)?

CentOS 8

Reproduction steps

  1. Login to Jenkins
  2. Select a Build Monitor View
  3. Click on the "Configure Build Monitor Settings" (gear icon)
  4. Selet "Configure"
  5. Select some Builds to be shown
  6. Click "Save"
  7. Reload the changed Build Monitor View

Expected Results

Selected Builds are shown in the Monitor.

Actual Results

No Builds are shown but the message "It seems a bit empty here... Maybe you'd like to add some project to this Build Monitor?"

Anything else?

It was working before the last Jenkins update to version 2.414.1.

basil commented 1 year ago

Fixed in #794