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

JavaScript Compiles <script> Tag Inline

XMLWordPrintable

      When instantiating buildPipeline, the generated source is:

      var buildPipeline = new BuildPipeline(<script src='/adjuncts/515ad041/org/kohsuke/stapler/json2.js' type='text/javascript'></script>makeStaplerProxy('/$stapler/bound/a2de33aa-3d21-41db-b922-103346da87ce','3e86c0cf-632d-480f-8e05-16ecbadfd7f2',['triggerManualBuild','retryBuild','rerunBuild']), Handlebars.compile(buildCardTemplateSource), Handlebars.compile(projectCardTemplateSource), 3000);

      That <script> tag shouldn't be there.

            Unassigned Unassigned
            odd_bloke Daniel Watkins
            Votes:
            16 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved: