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

CLI fails to parse argument containing several = signs

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli, core
    • None
    • N/A

      Using the command line (jenkins-cli.jar) does not work as expected if the value of a key-value-pair contains an = sign:
      java -jar jenkins-cli.jar -s SERVER -p key1=value1 -p key2=value2=format

      Even escaping the second = sign does not work as expected.

      This behaviour is blocking me and my team at the moment.
      Please let me know if you need more information or if I can provide help somehow.

          [JENKINS-11690] CLI fails to parse argument containing several = signs

          Any updates on this issue?

          Norman Baumann added a comment - Any updates on this issue?

          This bug will be fixed, once the following pull request was merged into the args4j package and released as a new version. Then, Jenkins only needs to adjust its dependency to the new version accordingly.

          https://github.com/kohsuke/args4j/pull/15

          Martin Schröder added a comment - This bug will be fixed, once the following pull request was merged into the args4j package and released as a new version. Then, Jenkins only needs to adjust its dependency to the new version accordingly. https://github.com/kohsuke/args4j/pull/15

          Assigned to Kohsuke, as this is a Jenkins build dependency issue.

          Martin Schröder added a comment - Assigned to Kohsuke, as this is a Jenkins build dependency issue.

          Daniel Beck added a comment -

          Appears to have been fixed a while ago. A similar issue (JENKINS-21160) occurs in remoting, but it seems unrelated to this.

          Daniel Beck added a comment - Appears to have been fixed a while ago. A similar issue ( JENKINS-21160 ) occurs in remoting, but it seems unrelated to this.

            kohsuke Kohsuke Kawaguchi
            nbaumann Norman Baumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: