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

[weblogic-deployer-plugin] Extract inline script block in org/jenkinsci/plugins/deploy/weblogic/WeblogicDeploymentPlugin/config.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 5
      ----
      <script>
            function completeJdkhome(jdkName, jdkHomeId) {
            	desc.completeJdkHome(jdkName, function(t) {
            	  if(! document.getElementById(jdkHomeId).value){
                	document.getElementById(jdkHomeId).value = t.responseObject();
                } else if (t.responseObject()){
                  document.getElementById(jdkHomeId).value = t.responseObject();
                }
              });
            }
          </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: