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

Jenkins CLI cannot handle arguments with equals signs ("=")

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cli, remoting
    • Labels:
      None
    • Environment:
      stable-1.565.3
    • Similar Issues:

      Description

      The Jenkins CLI can pass in parameters to a parameterized build. It uses the "-p" option for this. The arguments are parsed using args4j. The version of args4j that has been incorporated has a bug in the MapOptionHandler code where it will not accept a parameter value that has an equals sign ("=") in it; instead it will take everything up to the equals sign. The problem appears to be fixed in newer args4j code.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Damien Nozay
          Path:
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/ec2b7fcc8d9542cd7b39d3c7594b3ba6d174f6b0
          Log:
          JENKINS-21160: update pom.xml to warn about mismatched args4j

          in some circumstances, you may use some older args4j (coming from remoting) when the jenkins about page shows a different version.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Damien Nozay Path: core/pom.xml http://jenkins-ci.org/commit/jenkins/ec2b7fcc8d9542cd7b39d3c7594b3ba6d174f6b0 Log: JENKINS-21160 : update pom.xml to warn about mismatched args4j in some circumstances, you may use some older args4j (coming from remoting) when the jenkins about page shows a different version.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/a22e20d4670560d98d577c26bfd8e45fa72ecb2f
          Log:
          Merge pull request #1419 from dnozay/patch-1

          JENKINS-21160: update pom.xml to warn about mismatched args4j

          Compare: https://github.com/jenkinsci/jenkins/compare/8e0b87c0ace4...a22e20d46705

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/pom.xml http://jenkins-ci.org/commit/jenkins/a22e20d4670560d98d577c26bfd8e45fa72ecb2f Log: Merge pull request #1419 from dnozay/patch-1 JENKINS-21160 : update pom.xml to warn about mismatched args4j Compare: https://github.com/jenkinsci/jenkins/compare/8e0b87c0ace4...a22e20d46705
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/pom.xml
          pom.xml
          http://jenkins-ci.org/commit/jenkins/72e0b9c53a15306e0a7b7117100f4d1b7ec250b8
          Log:
          [FIXED JENKINS-6167 JENKINS-21251 JENKINS-21160]

          Integrated a newer version of remoting & args4j

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml pom.xml http://jenkins-ci.org/commit/jenkins/72e0b9c53a15306e0a7b7117100f4d1b7ec250b8 Log: [FIXED JENKINS-6167 JENKINS-21251 JENKINS-21160] Integrated a newer version of remoting & args4j
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #4021
          [FIXED JENKINS-6167 JENKINS-21251 JENKINS-21160] (Revision 72e0b9c53a15306e0a7b7117100f4d1b7ec250b8)

          Result = SUCCESS
          kohsuke : 72e0b9c53a15306e0a7b7117100f4d1b7ec250b8
          Files :

          • changelog.html
          • core/pom.xml
          • pom.xml
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4021 [FIXED JENKINS-6167 JENKINS-21251 JENKINS-21160] (Revision 72e0b9c53a15306e0a7b7117100f4d1b7ec250b8) Result = SUCCESS kohsuke : 72e0b9c53a15306e0a7b7117100f4d1b7ec250b8 Files : changelog.html core/pom.xml pom.xml
          Show
          oleg_nenashev Oleg Nenashev added a comment - Fixed on March 2015th https://github.com/jenkinsci/jenkins/commit/72e0b9c53a15306e0a7b7117100f4d1b7ec250b8

            People

            • Assignee:
              Unassigned
              Reporter:
              rjbell4 Bob Bell
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: