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

Jenkins core contains dependencies with external static resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • jenkins-2.0+

      There are dependencies with external resources in runtime. You can find an example like this:

      <?jelly escape-by-default='true'?>
      <l:html norefresh="true" title="${it.displayName}" xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
        <l:main-panel>
          <style type="text/css">
            @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
            @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,900,700);
      

      in core/src/main/resources/jenkins/install/SetupWizard/setupWizardFirstUser.jelly.

      1. Remove CSS inline in Jelly file if it is possible.
      2. Remove duplicated refereces: here and here

      This does more difficult a real environment without direct internet connection (offline mode).

            recena Manuel Recena Soto
            recena Manuel Recena Soto
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: