-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Everything should be the latest LTS and plugin version.
Jenkins: 2.440.1
OS: Linux - 5.10.186+
Java: 17.0.10 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
add-changes-to-build-changelog:21.v537f074cf2cc
additional-metrics:67.vcb_823d3999a_2
analysis-model-api:12.1.0
ansicolor:1.0.4
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
authentication-tokens:1.53.v1c90fd9191a_b_
basic-branch-build-strategies:81.v05e333931c7d
bootstrap5-api:5.3.2-4
bouncycastle-api:2.30.1.77-225.v26ea_c9455fd9
branch-api:2.1152.v6f101e97dd77
browserstack-integration:1.2.12
build-failure-analyzer:2.5.0
build-monitor-plugin:1.14-860.vd06ef2568b_3f
build-timeout:1.32
build-with-parameters:76.v9382db_f78962
buildtriggerbadge:251.vdf6ef853f3f5
caffeine-api:3.1.8-133.v17b_1ff2e0599
calendar-view:0.3.3
categorized-view:1.13
checks-api:2.0.2
claim:516.v36293563731d
cloudbees-disk-usage-simple:203.v3f46a_7462b_1a_
cloudbees-folder:6.901.vb_4c7a_da_75da_3
command-launcher:107.v773860566e2e
commons-lang3-api:3.13.0-62.v7d18e55f51e2
commons-text-api:1.11.0-95.v22a_d30ee5d36
configuration-as-code:1775.v810dc950b_514
console-column-plugin:252.v0b_8fa_0e33b_72
create-fingerprint:25.v0a_b_e60b_42fa_4
credentials:1319.v7eb_51b_3a_c97b_
credentials-binding:657.v2b_19db_7d6e6d
dark-theme:416.v535839b_c4e88
dashboard-view:2.508.va_74654f026d1
data-tables-api:1.13.8-4
delivery-pipeline-plugin:1.4.2
display-url-api:2.200.vb_9327d658781
downstream-build-cache:1.7
durable-task:550.v0930093c4b_a_6
echarts-api:5.4.3-4
editable-choice:71.v02a291ebbe45
email-ext:2.104
extra-columns:1.26
font-awesome-api:6.5.1-3
forensics-api:2.4.0
git:5.2.1
git-changelog:3.38
git-client:4.6.0
git-forensics:2.1.0
git-parameter:0.9.19
git-push:34.vd474e0fe7b_ec
github:1.38.0
github-api:1.318-461.v7a_c09c9fa_d63
github-branch-source:1772.va_69eda_d018d4
github-checks:554.vb_ee03a_000f65
github-label-filter:1.0.0
github-pr-comment-build:96.v9ff13b69dd66
github-scm-filter-aged-refs:31.ve3b_ca_fc71d5b_
global-build-stats:293.vd7b_d6e361475
google-oauth-plugin:1.330.vf5e86021cb_ec
gson-api:2.10.1-15.v0d99f670e0a_7
htmlpublisher:1.32
http_request:1.18
instance-identity:185.v303dc7c645f9
ionicons-api:56.v1b_1c8c49374e
jackson2-api:2.16.1-373.ve709c6871598
jakarta-activation-api:2.0.1-3
jakarta-mail-api:2.0.1-3
javadoc:243.vb_b_503b_b_45537
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-9
jaxb:2.3.9-1
jdk-tool:73.vddf737284550
jersey2-api:2.41-133.va_03323b_a_1396
jira:3.12
jjwt-api:0.11.5-77.v646c772fddb_0
job-dsl:1.87
jobConfigHistory:1229.v3039470161a_d
jobcacher:432.vb_b_fc2291c917
joda-time-api:2.12.7-29.v5a_b_e3a_82269a_
jquery:1.12.4-1
jquery3-api:3.7.1-2
json-api:20240205-27.va_007549e895c
json-path-api:2.9.0-33.v2527142f2e1d
junit:1259.v65ffcef24a_88
junit-realtime-test-reporter:146.v82b_01a_5d2b_3a_
jwt-auth:0.3.0
kubernetes:4186.v1d804571d5d4
kubernetes-cli:1.12.1
kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2
kubernetes-credentials:0.11
ldap:711.vb_d1a_491714dc
lockable-resources:1243.v346d600eea_24
mailer:463.vedf8358e006b_
matrix-auth:3.2.1
matrix-project:822.824.v14451b_c0fd42
metrics:4.2.21-449.v6960d7c54c69
mina-sshd-api-common:2.12.0-90.v9f7fb_9fa_3d3b_
mina-sshd-api-core:2.12.0-90.v9f7fb_9fa_3d3b_
monitoring:1.98.0
multibranch-build-strategy-extension:48.v3dc306525d0c
naginator:1.436.vb_e769dcb_cdf6
next-executions:302.vf833440a_3fd6
oauth-credentials:0.646.v02b_66dc03d2e
okhttp-api:4.11.0-172.vda_da_1feeb_c6e
pam-auth:1.10
parameter-separator:166.vd0120849b_386
parameterized-scheduler:262.v00f3d90585cc
parameterized-trigger:787.v665fcf2a_830b_
pipeline-aggregator-view:1.15
pipeline-build-step:516.v8ee60a_81c5b_9
pipeline-config-history:1.6
pipeline-github:2.8-159.09e4403bc62f
pipeline-graph-analysis:216.vfd8b_ece330ca_
pipeline-graph-view:224.vef989d141666
pipeline-groovy-lib:704.vc58b_8890a_384
pipeline-input-step:491.vb_07d21da_1a_fb_
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2175.v76a_fff0a_2618
pipeline-model-definition:2.2175.v76a_fff0a_2618
pipeline-model-extensions:2.2175.v76a_fff0a_2618
pipeline-rest-api:2.34
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2175.v76a_fff0a_2618
pipeline-stage-view:2.34
pipeline-timeline:1.0.3
pipeline-utility-steps:2.16.2
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:4.1.0
prism-api:1.29.0-13
progress-bar-column-plugin:11.vdef198c2d6c1
prometheus:2.5.1
rebuild:330.v645b_7df10e2a_
rest-list-parameter:1.7.0
role-strategy:689.v731678c3e0eb_
saferestart:0.7
scm-api:683.vb_16722fb_b_80b_
scm-filter-branch-pr:148.v0b_5f06e8b_c84
script-security:1326.vdb_c154de8669
select2-api:4.0.13-8
show-build-parameters:1.0
sidebar-link:2.4.1
simple-parameterized-builds-report:1.5
skip-notifications-trait:313.vd1337c8f8134
slack:684.v833089650554
slave-setup:1.16
slave-status:56.v1798df8ff586
snakeyaml-api:2.2-111.vc6598e30cc65
ssh-agent:346.vda_a_c4f2c8e50
ssh-credentials:308.ve4497b_ccd8f4
sshd:3.322.v159e91f6a_550
structs:337.v1b_04ea_4df7c8
support-core:1386.vc7f0a_46f9e6c
testng-plugin:835.v51ed3da_fcc35
theme-manager:215.vc1ff18d67920
throttle-concurrents:2.14
timestamper:1.26
token-macro:400.v35420b_922dcb_
trilead-api:2.133.vfb_8a_7b_9c5dd1
validating-string-parameter:183.v3748e79b_9737
variant:60.v7290fc0eb_b_cd
versionnumber:1.11
view-job-filters:369.ve0513a_a_f5524
warnings-ng:11.1.0
workflow-aggregator:596.v8c21c963d92d
workflow-api:1291.v51fd2a_625da_7
workflow-basic-steps:1042.ve7b_140c4a_e0c
workflow-cps:3880.vb_ef4b_5cfd270
workflow-durable-task-step:1331.vc8c2fed35334
workflow-job:1400.v7fd111b_ec82f
workflow-multibranch:773.vc4fe1378f1d5
workflow-scm-step:415.v434365564324
workflow-step-api:657.v03b_e8115821b_
workflow-support:865.v43e78cc44e0d
yet-another-build-visualizer:1.16Everything should be the latest LTS and plugin version. Jenkins: 2.440.1 OS: Linux - 5.10.186+ Java: 17.0.10 - Eclipse Adoptium (OpenJDK 64-Bit Server VM) --- add-changes-to-build-changelog:21.v537f074cf2cc additional-metrics:67.vcb_823d3999a_2 analysis-model-api:12.1.0 ansicolor:1.0.4 antisamy-markup-formatter:162.v0e6ec0fcfcf6 apache-httpcomponents-client-4-api:4.5.14-208.v438351942757 authentication-tokens:1.53.v1c90fd9191a_b_ basic-branch-build-strategies:81.v05e333931c7d bootstrap5-api:5.3.2-4 bouncycastle-api:2.30.1.77-225.v26ea_c9455fd9 branch-api:2.1152.v6f101e97dd77 browserstack-integration:1.2.12 build-failure-analyzer:2.5.0 build-monitor-plugin:1.14-860.vd06ef2568b_3f build-timeout:1.32 build-with-parameters:76.v9382db_f78962 buildtriggerbadge:251.vdf6ef853f3f5 caffeine-api:3.1.8-133.v17b_1ff2e0599 calendar-view:0.3.3 categorized-view:1.13 checks-api:2.0.2 claim:516.v36293563731d cloudbees-disk-usage-simple:203.v3f46a_7462b_1a_ cloudbees-folder:6.901.vb_4c7a_da_75da_3 command-launcher:107.v773860566e2e commons-lang3-api:3.13.0-62.v7d18e55f51e2 commons-text-api:1.11.0-95.v22a_d30ee5d36 configuration-as-code:1775.v810dc950b_514 console-column-plugin:252.v0b_8fa_0e33b_72 create-fingerprint:25.v0a_b_e60b_42fa_4 credentials:1319.v7eb_51b_3a_c97b_ credentials-binding:657.v2b_19db_7d6e6d dark-theme:416.v535839b_c4e88 dashboard-view:2.508.va_74654f026d1 data-tables-api:1.13.8-4 delivery-pipeline-plugin:1.4.2 display-url-api:2.200.vb_9327d658781 downstream-build-cache:1.7 durable-task:550.v0930093c4b_a_6 echarts-api:5.4.3-4 editable-choice:71.v02a291ebbe45 email-ext:2.104 extra-columns:1.26 font-awesome-api:6.5.1-3 forensics-api:2.4.0 git:5.2.1 git-changelog:3.38 git-client:4.6.0 git-forensics:2.1.0 git-parameter:0.9.19 git-push:34.vd474e0fe7b_ec github:1.38.0 github-api:1.318-461.v7a_c09c9fa_d63 github-branch-source:1772.va_69eda_d018d4 github-checks:554.vb_ee03a_000f65 github-label-filter:1.0.0 github-pr-comment-build:96.v9ff13b69dd66 github-scm-filter-aged-refs:31.ve3b_ca_fc71d5b_ global-build-stats:293.vd7b_d6e361475 google-oauth-plugin:1.330.vf5e86021cb_ec gson-api:2.10.1-15.v0d99f670e0a_7 htmlpublisher:1.32 http_request:1.18 instance-identity:185.v303dc7c645f9 ionicons-api:56.v1b_1c8c49374e jackson2-api:2.16.1-373.ve709c6871598 jakarta-activation-api:2.0.1-3 jakarta-mail-api:2.0.1-3 javadoc:243.vb_b_503b_b_45537 javax-activation-api:1.2.0-6 javax-mail-api:1.6.2-9 jaxb:2.3.9-1 jdk-tool:73.vddf737284550 jersey2-api:2.41-133.va_03323b_a_1396 jira:3.12 jjwt-api:0.11.5-77.v646c772fddb_0 job-dsl:1.87 jobConfigHistory:1229.v3039470161a_d jobcacher:432.vb_b_fc2291c917 joda-time-api:2.12.7-29.v5a_b_e3a_82269a_ jquery:1.12.4-1 jquery3-api:3.7.1-2 json-api:20240205-27.va_007549e895c json-path-api:2.9.0-33.v2527142f2e1d junit:1259.v65ffcef24a_88 junit-realtime-test-reporter:146.v82b_01a_5d2b_3a_ jwt-auth:0.3.0 kubernetes:4186.v1d804571d5d4 kubernetes-cli:1.12.1 kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2 kubernetes-credentials:0.11 ldap:711.vb_d1a_491714dc lockable-resources:1243.v346d600eea_24 mailer:463.vedf8358e006b_ matrix-auth:3.2.1 matrix-project:822.824.v14451b_c0fd42 metrics:4.2.21-449.v6960d7c54c69 mina-sshd-api-common:2.12.0-90.v9f7fb_9fa_3d3b_ mina-sshd-api-core:2.12.0-90.v9f7fb_9fa_3d3b_ monitoring:1.98.0 multibranch-build-strategy-extension:48.v3dc306525d0c naginator:1.436.vb_e769dcb_cdf6 next-executions:302.vf833440a_3fd6 oauth-credentials:0.646.v02b_66dc03d2e okhttp-api:4.11.0-172.vda_da_1feeb_c6e pam-auth:1.10 parameter-separator:166.vd0120849b_386 parameterized-scheduler:262.v00f3d90585cc parameterized-trigger:787.v665fcf2a_830b_ pipeline-aggregator-view:1.15 pipeline-build-step:516.v8ee60a_81c5b_9 pipeline-config-history:1.6 pipeline-github:2.8-159.09e4403bc62f pipeline-graph-analysis:216.vfd8b_ece330ca_ pipeline-graph-view:224.vef989d141666 pipeline-groovy-lib:704.vc58b_8890a_384 pipeline-input-step:491.vb_07d21da_1a_fb_ pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2175.v76a_fff0a_2618 pipeline-model-definition:2.2175.v76a_fff0a_2618 pipeline-model-extensions:2.2175.v76a_fff0a_2618 pipeline-rest-api:2.34 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2175.v76a_fff0a_2618 pipeline-stage-view:2.34 pipeline-timeline:1.0.3 pipeline-utility-steps:2.16.2 plain-credentials:143.v1b_df8b_d3b_e48 plugin-util-api:4.1.0 prism-api:1.29.0-13 progress-bar-column-plugin:11.vdef198c2d6c1 prometheus:2.5.1 rebuild:330.v645b_7df10e2a_ rest-list-parameter:1.7.0 role-strategy:689.v731678c3e0eb_ saferestart:0.7 scm-api:683.vb_16722fb_b_80b_ scm-filter-branch-pr:148.v0b_5f06e8b_c84 script-security:1326.vdb_c154de8669 select2-api:4.0.13-8 show-build-parameters:1.0 sidebar-link:2.4.1 simple-parameterized-builds-report:1.5 skip-notifications-trait:313.vd1337c8f8134 slack:684.v833089650554 slave-setup:1.16 slave-status:56.v1798df8ff586 snakeyaml-api:2.2-111.vc6598e30cc65 ssh-agent:346.vda_a_c4f2c8e50 ssh-credentials:308.ve4497b_ccd8f4 sshd:3.322.v159e91f6a_550 structs:337.v1b_04ea_4df7c8 support-core:1386.vc7f0a_46f9e6c testng-plugin:835.v51ed3da_fcc35 theme-manager:215.vc1ff18d67920 throttle-concurrents:2.14 timestamper:1.26 token-macro:400.v35420b_922dcb_ trilead-api:2.133.vfb_8a_7b_9c5dd1 validating-string-parameter:183.v3748e79b_9737 variant:60.v7290fc0eb_b_cd versionnumber:1.11 view-job-filters:369.ve0513a_a_f5524 warnings-ng:11.1.0 workflow-aggregator:596.v8c21c963d92d workflow-api:1291.v51fd2a_625da_7 workflow-basic-steps:1042.ve7b_140c4a_e0c workflow-cps:3880.vb_ef4b_5cfd270 workflow-durable-task-step:1331.vc8c2fed35334 workflow-job:1400.v7fd111b_ec82f workflow-multibranch:773.vc4fe1378f1d5 workflow-scm-step:415.v434365564324 workflow-step-api:657.v03b_e8115821b_ workflow-support:865.v43e78cc44e0d yet-another-build-visualizer:1.16
https://github.com/jenkinsci/pipeline-build-step-plugin/pull/45 which started using isValid() does not seem to work well with the rest-list-parameter plugin.
We have a pipeline that builds a new version, adds a tag to github, confirms the new tag is returned by the github api, then triggers a deploy pipeline via build(). The call to build fails with
ERROR: Invalid parameter value: {"type": "RestListParameterValue", "name:": "TAG", "value": "newly-created-tag"}
The TAG parameter in the downstream pipeline is a rest-list-parameter configured to query github for a list of existing tags.
Triggering the downstream pipeline manually works.
I had the same issue with both 539.v8c889169451f and 540.vb_e8849e1a_b_d8. Reverting to 516.v8ee60a_81c5b_9 fixed my issue in both upgrade attempts.
rest-list-parameter has some caching options, but I have disabled them to confirm I'm not seeing an issue with the new value not being found in cache. The api should be queried each time values are needed.
My theory on what is happening is the RestListParam doesn't have any stored state on valid parameters and the call to isValid() does not trigger the http call to determine what values are valid. So my new tag is not found in an empty list.