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

Characters not being escaped correctly, resulting in unknown task

    • 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...

          [JENKINS-34352] Characters not being escaped correctly, resulting in unknown task

          Robert Cook created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170446 ] New: JNJira + In-Review [ 183902 ]
          Stefan Wolf made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stefan Wolf made changes -
          Assignee Original: George Simpson [ gsimpson ] New: Stefan Wolf [ wolfs ]
          Stefan Wolf made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: