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

Groovy script syntax validation not working as expected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline
    • Workflow 1.12-beta-2

      The groovy syntax is not being triggered on-blur in the script text area - perhaps related to ACE editor.

      If you save the job and go to configure again, the syntax check validation message is correctly shown.

          [JENKINS-31909] Groovy script syntax validation not working as expected

          Jesse Glick added a comment -

          So mark with label regression and block issue introducing ACE.

          Jesse Glick added a comment - So mark with label regression and block issue introducing ACE.

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          cps/src/main/js/workflow-editor.js
          http://jenkins-ci.org/commit/workflow-plugin/4e635fefa742ec0db86f5231be91e06a2863a5a2
          Log:
          JENKINS-31909 Show groovy syntax validation message

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: cps/src/main/js/workflow-editor.js http://jenkins-ci.org/commit/workflow-plugin/4e635fefa742ec0db86f5231be91e06a2863a5a2 Log: JENKINS-31909 Show groovy syntax validation message

          Code changed in jenkins
          User: Jesse Glick
          Path:
          CHANGES.md
          cps/src/main/js/workflow-editor.js
          http://jenkins-ci.org/commit/workflow-plugin/1d8a2a49a55b63e62361e3d08d2fc98f97e0bd7f
          Log:
          [FIXED JENKINS-31909] Merging #273.

          Compare: https://github.com/jenkinsci/workflow-plugin/compare/5206f6650bba...1d8a2a49a55b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md cps/src/main/js/workflow-editor.js http://jenkins-ci.org/commit/workflow-plugin/1d8a2a49a55b63e62361e3d08d2fc98f97e0bd7f Log: [FIXED JENKINS-31909] Merging #273. Compare: https://github.com/jenkinsci/workflow-plugin/compare/5206f6650bba...1d8a2a49a55b

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          cps/src/main/js/workflow-editor.js
          http://jenkins-ci.org/commit/workflow-cps-plugin/90a93ebca3947b656ef728787d9ef6a724527745
          Log:
          JENKINS-31909 Show groovy syntax validation message

          Originally-Committed-As: 4e635fefa742ec0db86f5231be91e06a2863a5a2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: cps/src/main/js/workflow-editor.js http://jenkins-ci.org/commit/workflow-cps-plugin/90a93ebca3947b656ef728787d9ef6a724527745 Log: JENKINS-31909 Show groovy syntax validation message Originally-Committed-As: 4e635fefa742ec0db86f5231be91e06a2863a5a2

          Code changed in jenkins
          User: Jesse Glick
          Path:
          cps/src/main/js/workflow-editor.js
          http://jenkins-ci.org/commit/workflow-cps-plugin/4015c9d3f53078bb04da98f29cf864efa307ea52
          Log:
          [FIXED JENKINS-31909] Merging #273.

          Originally-Committed-As: 1d8a2a49a55b63e62361e3d08d2fc98f97e0bd7f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: cps/src/main/js/workflow-editor.js http://jenkins-ci.org/commit/workflow-cps-plugin/4015c9d3f53078bb04da98f29cf864efa307ea52 Log: [FIXED JENKINS-31909] Merging #273. Originally-Committed-As: 1d8a2a49a55b63e62361e3d08d2fc98f97e0bd7f

            amuniz Antonio Muñiz
            amuniz Antonio Muñiz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: