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

JSON-editor File upload is not working and is blocking the whole display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None
    • Ubuntu 14.04 x64
      Oracle JDK 1.7.0_80
      Extended Choice Parameter Plug-In 0.64

      JSON-Editor itself supports File upload feature.
      I have tested my JSON code at http://jeremydorn.com/json-editor/.

      When I added the code (the File upload block) to the existing " JSON Parameter Config Groovy Script",
      the JSON-Editor UI doesn't show up anymore.
      I have approved groovy script in "In-process script approval" before tryout to trigger the job.

      Attach screen shot files:
      Selection_010.png (expected UI output displayed at http://jeremydorn.com/json-editor/)
      Selection_011.png (tested JSON Schema at http://jeremydorn.com/json-editor/)
      Selection_012.png (Jenkins display output with File upload code)
      Selection_012.png (Jenkins display output without File upload code)
      JSON Parameter Config Groovy Script.txt (groovy source code in Jenkins Job config)

        1. JSON Parameter Config Groovy Script.txt
          1 kB
        2. Selection_010.png
          Selection_010.png
          89 kB
        3. Selection_011.png
          Selection_011.png
          67 kB
        4. Selection_012.png
          Selection_012.png
          68 kB
        5. Selection_013.png
          Selection_013.png
          129 kB

            vimil vimil
            totoroliu Rick Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: