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

PostBuildScript Execute Script Execute Shell Textbox Formatting Broken

      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.

          [JENKINS-48931] PostBuildScript Execute Script Execute Shell Textbox Formatting Broken

          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?

          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?

          klugemonkey added a comment -

          klugemonkey added a comment - https://imgur.com/a/ZGn8S

          Daniel Heid added a comment -

          Thanks!

          Daniel Heid added a comment - Thanks!

          Daniel Heid added a comment -

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

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

          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.

          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.

          klugemonkey added a comment -

          Tested with new plugin.  Looks good. Thanks.

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

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

              Created:
              Updated:
              Resolved: