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

Support CLI parameter submission for JiraIssueParameterDefinition

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm trying to run a job using jenkins-cli:

      java -jar jenkins-cli.jar -s http://myjenkins_server build myjob -s -v -p jiraissue=my_jira_issue_key --username myusername --password mypassword

      It returns:

      "CLI parameter submission is not supported for the class hudson.plugins.jira.listissuesparameter.JiraIssueParameterDefinition type. Please file a bug report for this"

      jiraissue is a parameter of type "JIRA Issue Parameter".

      Is there a workaround?

      Thanks.

        Attachments

          Activity

          Hide
          zajic Jan Zajíc added a comment -

          It is not. I already fixed it in my git, i create pull request after some other changes will be merged (eg pr #72).

          Show
          zajic Jan Zajíc added a comment - It is not. I already fixed it in my git, i create pull request after some other changes will be merged (eg pr #72).
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Radek Antoniuk
          Path:
          src/main/java/hudson/plugins/jira/listissuesparameter/JiraIssueParameterDefinition.java
          src/main/java/hudson/plugins/jira/listissuesparameter/JiraIssueParameterValue.java
          src/main/java/hudson/plugins/jira/versionparameter/JiraVersionParameterValue.java
          src/test/java/hudson/plugins/jira/listissuesparameter/CliParameterTests.java
          http://jenkins-ci.org/commit/jira-plugin/73bdc422c16d4b61280feb9370e3f38ee1451c01
          Log:
          JENKINS-32170 - add Cli Parameter submission for JiraIssueParameterDefinition

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Radek Antoniuk Path: src/main/java/hudson/plugins/jira/listissuesparameter/JiraIssueParameterDefinition.java src/main/java/hudson/plugins/jira/listissuesparameter/JiraIssueParameterValue.java src/main/java/hudson/plugins/jira/versionparameter/JiraVersionParameterValue.java src/test/java/hudson/plugins/jira/listissuesparameter/CliParameterTests.java http://jenkins-ci.org/commit/jira-plugin/73bdc422c16d4b61280feb9370e3f38ee1451c01 Log: JENKINS-32170 - add Cli Parameter submission for JiraIssueParameterDefinition

            People

            Assignee:
            warden Radek Antoniuk
            Reporter:
            emersont Emerson Takahashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: