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

Enable/Implement CLI parameter submission for Maven Metadata Plugin

XMLWordPrintable

      CLI parameter submission is not support for this plugin. When invoking jenkins-cli build on a specific job that use "maven metadata plugin":
      java -jar jenkins-cli.jar -s http://myjenkins.test.com/ build refresh-setup2-5-install-version -p STATIC_ROLLOUT=1.0.26

      I get the following error:
      CLI parameter submission is not supported for the class eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterDefinition type. Please file a bug report for this

      Here is a sample of the config.xml (Changed some namespace for anonymous reason):
      <eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterDefinition plugin="maven-metadata-plugin@1.0.0">
      <name>STATIC_ROLLOUT</name>
      <description></description>
      <repoBaseUrl>http://nexus.xxxxx.com/content/repositories/xxxxx-repository</repoBaseUrl>
      <groupId>com.xxxxx.xxxxx.operating</groupId>
      <artifactId>xxxxx-xxxxx-rollout</artifactId>
      <packaging></packaging>
      <defaultValue></defaultValue>
      <versionFilter></versionFilter>
      <sortOrder>DESC</sortOrder>
      <maxVersions>10</maxVersions>
      </eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterDefinition>

      This feature would be a huge progress for us... Is this plugin still maintained. Thanks for your help/feedback.

            gesh Gesh Markov
            zophar Pierre Hanselmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: