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

PostBuildScript Execute Script Execute Shell Textbox Formatting Broken

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Text formatting on the Command rich text box under the Execute Shell post build step in the PostBuildScript plugin is broken.  Text is not formatted correctly and aligned properly with the text frame and there is no cursor or highlighting during cut and paste.  It is highly difficult to enter and maintain text in the rich text box, if not unusable.  It does save and read the text, albeit not formatted correctly if entered and apply/saved.  Problem occurs on both FireFox and Chrome, so not a browser compatibility issue.  Other plugin text boxes such as the Execute Windows batch command in the same plugin does not have this issue.

        Attachments

          Activity

          Hide
          dheid Daniel Heid added a comment -

          Hi klugemonkey!

          Thank you very much for opening a ticket related to this bug. I will try to reproduce it. Do you have any screenshots or steps for me that help reproducing?

          Show
          dheid Daniel Heid added a comment - Hi klugemonkey! Thank you very much for opening a ticket related to this bug. I will try to reproduce it. Do you have any screenshots or steps for me that help reproducing?
          Hide
          klugemonkey klugemonkey added a comment -
          Show
          klugemonkey klugemonkey added a comment - https://imgur.com/a/ZGn8S
          Hide
          dheid Daniel Heid added a comment -

          Thanks!

          Show
          dheid Daniel Heid added a comment - Thanks!
          Hide
          dheid Daniel Heid added a comment -

          I could reproduce the problem. Very strange! I'll investigate the cause...

          Show
          dheid Daniel Heid added a comment - I could reproduce the problem. Very strange! I'll investigate the cause...
          Hide
          dheid Daniel Heid added a comment -

          Okay, fixed the problem. It was caused by another text area that uses enhanced coding features provided by codemirror. For some reason it is not possible to have two editors using codemirror. I removed the one on the Groovy script text areas.

          I released the version 2.3.0 (should be available soon) and I will close this ticket now. If the problem still occurs (could no reproduce it after my fix), please don't hesitate to reopen the ticket.

          Show
          dheid Daniel Heid added a comment - Okay, fixed the problem. It was caused by another text area that uses enhanced coding features provided by codemirror. For some reason it is not possible to have two editors using codemirror. I removed the one on the Groovy script text areas. I released the version 2.3.0 (should be available soon) and I will close this ticket now. If the problem still occurs (could no reproduce it after my fix), please don't hesitate to reopen the ticket.
          Hide
          klugemonkey klugemonkey added a comment -

          Tested with new plugin.  Looks good. Thanks.

          Show
          klugemonkey klugemonkey added a comment - Tested with new plugin.  Looks good. Thanks.

            People

            • Assignee:
              dheid Daniel Heid
              Reporter:
              klugemonkey klugemonkey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: