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

'Script' text box is not visible.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None

      HI All,

      My requirement is to build jenkins plugins binaries i.e ace-editor,handlebars,momentjs and jquery-detached from source code.and Install jenkins with these plugins.Note: Rest all plugins are built from source code and has been verified jenkins functionality.

      In order to achieve this i followed below steps:

      1. Downloaded latest js-lib source code from https://github.com/jenkinsci/js-libs
      2. Used command "mvn -U clean install -s <SETTINGS_FULL_PATH>"
      where <SETTINGS_FULL_PATH> is just the full path of the settings which its content is https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment
      3. Later copied the *.hpi files from the target folder(For instant "jquery-detached/target/jquery-detached.hpi") for the ace-editor,handlebars,momentjs and jquery-detached. Replaced the *.hpi files into *.jpi format.
      4. Built the jenkins with these plugins.
      5. Jenkins is up and running successfully.But i login to jenkins UI in some pages "text box' is not appearing because of this am not able to enter any data into those text fields.
      Issue observed in Login to jenkins UI > Click on 'New Item' > Enter some text "Enter an item name" field > select "Pipeline" > click on 'OK' button > Scroll down the page and observe 'Script' Text box is no more visible.Attached 'Capture.PNG' for your reference.

      The root cause i found that,When we build these plugins from source code.Below files are not built as a part of *.hpi files

      Missing files respective of plugins.
      1. Jquery Detached.
       jsmodules/jqueryui1.js
       jsmodules/jquery2.js
       jsmodules/jqueryui1/style.css
      2. ace-editor:Below are missing files
      jsmodules/
      jsmodules/ace-editor-119.js
      jsmodules/ace-editor-122.js
      jsmodules/test.js
      3. MomentSj 
      jsmodules/momentjs2.js
      4. HandleBar
      jsmodules/handlebars3.js

      Is there any alternative ways to build these plugins?Or am i missing something here?

      Tried with Maven version 3.3.9 and 3.2.5 as well.

      It would be more helpful if some one suggest me on this to fix it.Or latest js-lib source code is not stable?

            Unassigned Unassigned
            ravihk71 Ravi H K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: