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

Characters not being escaped correctly, resulting in unknown task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-plugin
    • None
    • gradle-plugin: 1.24
      Jenkins: 1.656

      In the output log this command below produced a "Task not found" error

      Command:
      cmd.exe /C "gradle.bat -DghprbTargetBranch=master... '"-DghprbPullLongDescription=It was found that ANYvalid NEC format IR code would trigger a \""force occupied\"" event...

      Error:

      • What went wrong:
        Task 'occupied"" event...' not found in root project 'jUnit'.

      It appears that the quotations are not being escaped correctly in this instance, causing gradle to think that the text of DghprbPullLongDescription is a task.

      The text as posted on github is as follows:
      It was found that ANYvalid NEC format IR code would trigger a "force occupied" event...

            wolfs Stefan Wolf
            robcook124 Robert Cook
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: