You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var menu = new YAHOO.widget.Button(e, { type: "menu", menu: items, name: "name" });
Since 2.490 YUI is no longer loaded by default in Jenkins which leads to a Javascript error
Expected Results
Clicking the button allows to provision a node
Actual Results
JS error
Anything else?
Take this opportunity to also remove the inline Javascript and move it to a separate file to make that part CSP compliant.
The solution done in the EC2 plugin can serve as a blueprint: jenkinsci/ec2-plugin#997
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
version 2.66 of the plugin
Jenkins 2.490
What Operating System are you using (both controller, and any agents involved in the problem)?
doesn't matter
Reproduction steps
define a cloud and go to the
/computer
page. The button to provision is not working.The reason is the usage of YAHOO in
openstack-cloud-plugin/plugin/src/main/resources/jenkins/plugins/openstack/compute/JCloudsCloud/computerSet.jelly
Line 45 in 247cdad
Since 2.490 YUI is no longer loaded by default in Jenkins which leads to a Javascript error
Expected Results
Clicking the button allows to provision a node
Actual Results
JS error
Anything else?
Take this opportunity to also remove the inline Javascript and move it to a separate file to make that part CSP compliant.
The solution done in the EC2 plugin can serve as a blueprint: jenkinsci/ec2-plugin#997
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: