-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins: 2.489
OS: Linux - 4.14.355-271.569.amzn2.x86_64
Java: 17.0.13 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
eddsa-api:0.3.0-4.v84c6f0f4969e
email-ext:1861.vdb_d991590994
envinject:2.919.v009a_a_1067cd0
envinject-api:1.199.v3ce31253ed13
file-leak-detector:1.13
font-awesome-api:6.6.0-2
forensics-api:2.5.0
git:5.6.0
git-client:6.1.0
git-server:126.v0d945d8d2b_39
github:1.40.0
github-api:1.321-468.v6a_9f5f2d5a_7e
github-branch-source:1807.v50351eb_7dd13
github-checks:589.v845136f916cd
github-oauth:621.v33b_4394dda_4d
gson-api:2.11.0-41.v019fcf6125dc
hashicorp-vault-plugin:371.v884a_4dd60fb_6
htmlpublisher:1.37
http_request:1.19
influxdb:4.0
instance-identity:201.vd2a_b_5a_468a_a_6
ionicons-api:74.v93d5eb_813d5f
jackson2-api:2.17.0-379.v02de8ec9f64c
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javadoc:280.v050b_5c849f69
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-10
jaxb:2.3.9-1
jdk-tool:80.v8a_dee33ed6f0
jenkins-multijob-plugin:659.v6633374ec624
jfrog:1.5.6
jira-ext:0.9
jira-steps:2.0.165.v8846cf59f3db
jive-jenkins:2.5.5
jjwt-api:0.11.5-112.ve82dfb_224b_a_d
joda-time-api:2.13.0-85.vb_64d1c2921f1
jquery3-api:3.7.1-2
jsch:0.2.16-86.v42e010d9484b_
json-api:20240303-41.v94e11e6de726
json-path-api:2.9.0-58.v62e3e85b_a_655
junit:1311.v39e1716e4eb_e
leastload:62.vfa_8830902733
lockable-resources:1327.ved786b_a_197e0
m2release:0.16.4
mailer:489.vd4b_25144138f
managed-scripts:1.5.6
mask-passwords:173.v6a_077a_291eb_5
matrix-auth:3.2.2
matrix-project:840.v812f627cb_578
maven-plugin:3.24
maven-repo-cleaner:1.3
metrics:4.2.21-458.vcf496cb_839e4
mina-sshd-api-common:2.14.0-131.v04e9b_6b_e0362
mina-sshd-api-core:2.14.0-131.v04e9b_6b_e0362
msbuild:1.35
nexus-artifact-uploader:2.14
nexus-jenkins-plugin:3.16.501.ve3d6b_58f1d37
node-iterator-api:55.v3b_77d4032326
okhttp-api:4.11.0-172.vda_da_1feeb_c6e
pagerduty:0.7.1
parameterized-trigger:806.vf6fff3e28c3e
pipeline-aws:1.45
pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-githubnotify-step:49.vf37bf92d2bc8
pipeline-graph-analysis:216.vfd8b_ece330ca_
pipeline-graph-view:382.vb_9a_27b_7b_ea_71
pipeline-groovy-lib:744.v5b_556ee7c253
pipeline-input-step:495.ve9c153f6067b_
pipeline-maven:1469.ve15ca_a_b_90b_44
pipeline-maven-api:1469.ve15ca_a_b_90b_44
pipeline-milestone-step:119.vdfdc43fc3b_9a_
pipeline-model-api:2.2218.v56d0cda_37c72
pipeline-model-definition:2.2218.v56d0cda_37c72
pipeline-model-extensions:2.2218.v56d0cda_37c72
pipeline-npm:332.v287020104f93
pipeline-rest-api:2.34
pipeline-stage-step:312.v8cd10304c27a_
pipeline-stage-tags-metadata:2.2218.v56d0cda_37c72
pipeline-stage-view:2.34
pipeline-utility-steps:2.18.0
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:5.1.0
prism-api:1.29.0-17
prisma-cloud-jenkins-plugin:31.00.129
rebuild:332.va_1ee476d8f6d
release:2.19
resource-disposer:0.24
robot:5.0.0
run-condition:1.5
scm-api:698.v8e3b_c788f0a_6
script-security:1369.v9b_98a_4e95b_2d
scriptler:393.vc44e60d60fa_1
slack:751.v2e44153c8fe1
slave-setup:1.16
snakeyaml-api:2.3-123.v13484c65210a_
ssh-agent:376.v8933585c69d3
ssh-credentials:343.v884f71d78167
ssh-slaves:2.973.v0fa_8c0dea_f9f
sshd:3.330.vc866a_8389b_58
structs:338.v848422169819
test-results-analyzer:0.4.1
test-stability:2.4
theme-manager:262.vc57ee4a_eda_5d
thinBackup:2.1.1
timestamper:1.28
token-macro:400.v35420b_922dcb_
trilead-api:2.147.vb_73cc728a_32e
uno-choice:2.8.6
variant:60.v7290fc0eb_b_cd
view-job-filters:392.v2c0a_4dd46909
warnings-ng:11.12.0
workflow-api:1336.vee415d95c521
workflow-basic-steps:1058.vcb_fc1e3a_21a_9
workflow-cps:4000.v5198556e9cea_
workflow-durable-task-step:1398.vf6c9e89e5988
workflow-job:1472.ve4d5eca_143c4
workflow-multibranch:795.ve0cb_1f45ca_9a_
workflow-scm-step:427.v4ca_6512e7df1
workflow-step-api:678.v3ee58b_469476
workflow-support:936.v9fa_77211ca_e1
ws-cleanup:0.48
xunit:3.1.5Jenkins: 2.489 OS: Linux - 4.14.355-271.569.amzn2.x86_64 Java: 17.0.13 - Eclipse Adoptium (OpenJDK 64-Bit Server VM) --- eddsa-api:0.3.0-4.v84c6f0f4969e email-ext:1861.vdb_d991590994 envinject:2.919.v009a_a_1067cd0 envinject-api:1.199.v3ce31253ed13 file-leak-detector:1.13 font-awesome-api:6.6.0-2 forensics-api:2.5.0 git:5.6.0 git-client:6.1.0 git-server:126.v0d945d8d2b_39 github:1.40.0 github-api:1.321-468.v6a_9f5f2d5a_7e github-branch-source:1807.v50351eb_7dd13 github-checks:589.v845136f916cd github-oauth:621.v33b_4394dda_4d gson-api:2.11.0-41.v019fcf6125dc hashicorp-vault-plugin:371.v884a_4dd60fb_6 htmlpublisher:1.37 http_request:1.19 influxdb:4.0 instance-identity:201.vd2a_b_5a_468a_a_6 ionicons-api:74.v93d5eb_813d5f jackson2-api:2.17.0-379.v02de8ec9f64c jakarta-activation-api:2.1.3-1 jakarta-mail-api:2.1.3-1 javadoc:280.v050b_5c849f69 javax-activation-api:1.2.0-6 javax-mail-api:1.6.2-10 jaxb:2.3.9-1 jdk-tool:80.v8a_dee33ed6f0 jenkins-multijob-plugin:659.v6633374ec624 jfrog:1.5.6 jira-ext:0.9 jira-steps:2.0.165.v8846cf59f3db jive-jenkins:2.5.5 jjwt-api:0.11.5-112.ve82dfb_224b_a_d joda-time-api:2.13.0-85.vb_64d1c2921f1 jquery3-api:3.7.1-2 jsch:0.2.16-86.v42e010d9484b_ json-api:20240303-41.v94e11e6de726 json-path-api:2.9.0-58.v62e3e85b_a_655 junit:1311.v39e1716e4eb_e leastload:62.vfa_8830902733 lockable-resources:1327.ved786b_a_197e0 m2release:0.16.4 mailer:489.vd4b_25144138f managed-scripts:1.5.6 mask-passwords:173.v6a_077a_291eb_5 matrix-auth:3.2.2 matrix-project:840.v812f627cb_578 maven-plugin:3.24 maven-repo-cleaner:1.3 metrics:4.2.21-458.vcf496cb_839e4 mina-sshd-api-common:2.14.0-131.v04e9b_6b_e0362 mina-sshd-api-core:2.14.0-131.v04e9b_6b_e0362 msbuild:1.35 nexus-artifact-uploader:2.14 nexus-jenkins-plugin:3.16.501.ve3d6b_58f1d37 node-iterator-api:55.v3b_77d4032326 okhttp-api:4.11.0-172.vda_da_1feeb_c6e pagerduty:0.7.1 parameterized-trigger:806.vf6fff3e28c3e pipeline-aws:1.45 pipeline-build-step:540.vb_e8849e1a_b_d8 pipeline-githubnotify-step:49.vf37bf92d2bc8 pipeline-graph-analysis:216.vfd8b_ece330ca_ pipeline-graph-view:382.vb_9a_27b_7b_ea_71 pipeline-groovy-lib:744.v5b_556ee7c253 pipeline-input-step:495.ve9c153f6067b_ pipeline-maven:1469.ve15ca_a_b_90b_44 pipeline-maven-api:1469.ve15ca_a_b_90b_44 pipeline-milestone-step:119.vdfdc43fc3b_9a_ pipeline-model-api:2.2218.v56d0cda_37c72 pipeline-model-definition:2.2218.v56d0cda_37c72 pipeline-model-extensions:2.2218.v56d0cda_37c72 pipeline-npm:332.v287020104f93 pipeline-rest-api:2.34 pipeline-stage-step:312.v8cd10304c27a_ pipeline-stage-tags-metadata:2.2218.v56d0cda_37c72 pipeline-stage-view:2.34 pipeline-utility-steps:2.18.0 plain-credentials:183.va_de8f1dd5a_2b_ plugin-util-api:5.1.0 prism-api:1.29.0-17 prisma-cloud-jenkins-plugin:31.00.129 rebuild:332.va_1ee476d8f6d release:2.19 resource-disposer:0.24 robot:5.0.0 run-condition:1.5 scm-api:698.v8e3b_c788f0a_6 script-security:1369.v9b_98a_4e95b_2d scriptler:393.vc44e60d60fa_1 slack:751.v2e44153c8fe1 slave-setup:1.16 snakeyaml-api:2.3-123.v13484c65210a_ ssh-agent:376.v8933585c69d3 ssh-credentials:343.v884f71d78167 ssh-slaves:2.973.v0fa_8c0dea_f9f sshd:3.330.vc866a_8389b_58 structs:338.v848422169819 test-results-analyzer:0.4.1 test-stability:2.4 theme-manager:262.vc57ee4a_eda_5d thinBackup:2.1.1 timestamper:1.28 token-macro:400.v35420b_922dcb_ trilead-api:2.147.vb_73cc728a_32e uno-choice:2.8.6 variant:60.v7290fc0eb_b_cd view-job-filters:392.v2c0a_4dd46909 warnings-ng:11.12.0 workflow-api:1336.vee415d95c521 workflow-basic-steps:1058.vcb_fc1e3a_21a_9 workflow-cps:4000.v5198556e9cea_ workflow-durable-task-step:1398.vf6c9e89e5988 workflow-job:1472.ve4d5eca_143c4 workflow-multibranch:795.ve0cb_1f45ca_9a_ workflow-scm-step:427.v4ca_6512e7df1 workflow-step-api:678.v3ee58b_469476 workflow-support:936.v9fa_77211ca_e1 ws-cleanup:0.48 xunit:3.1.5
My team is running a Dockerized deployment of Jenkins. Recently, we have been trying to go from Jenkins version 2.462.2 to 2.489, and scriptler from version 376.v152edd95b_ca_f to 393.vc44e60d60fa_1.
We have bunch of Scriptler scripts we use to sync configuration defined declaratively in our instance without restart. We used to be able to import classes from other installed plugins in the scripts, for example org.jenkins.plugins.lockableresources.LockableResource , CloudBees folder classes, etc.
Now importing them results in compilation errors.
Script1.groovy: 19: unable to resolve class org.jenkins.plugins.lockableresources.LockableResourcesManager @ line 19, column 1. import org.jenkins.plugins.lockableresources.LockableResourcesManager
I have verified and running the same script from the script console works just fine. It also worked fine before the update. We use Scriptler mainly because we can run the scripts on the built-in node of the controller, since they modify internal Jenkins config, but we don't want regular jobs running there, so it's explicitly configured to have 0 executors. Is there something that changed recently in the way classes are loaded into the scripts that is preventing the plugins to be discoverable ?
Hi ccoupaljette_goto ,
Did you find any solution for that?
Experiencing the same issue.
Not only can't the plugin classes be imported, but can't be used without importing as well,
like trying to make a call like this
leads to the error message
groovy.lang.MissingPropertyException: No such property: com for class: Script1
while before the update the same worked and is still working if called in the "script console"