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

Gradle Plugin: Problems with Newlines in -P parameter

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-plugin
    • None

      We have a test field to enter a change long for building with Jenkins + Gradle Plugin.

      If our CHANGELOG text parameter contains newlines then this causes the build to fail:

      FAILURE: Could not determine which tasks to execute.

      I wasn't able to post the full output here. But suffice it to say that the newlines cause the gradle or the gradle plugin to be unable to parse the other parameters properly.

          [JENKINS-17871] Gradle Plugin: Problems with Newlines in -P parameter

          This issue and JENKINS-20505 deal about the same issue.

          FRANCOIS RITALY added a comment - This issue and JENKINS-20505 deal about the same issue.

          Stefan Wolf added a comment -

          This should be fixed in 1.27.1. If the problem still persists, please reopen.

          Stefan Wolf added a comment - This should be fixed in 1.27.1. If the problem still persists, please reopen.

            gbois Gregory Boissinot
            cocoanetics Oliver Drobnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: