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

Repository Connector fail to recuperate the parameter ${version} from maven repsitory artifact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • Jenkins 2.11, Nexus 2.12.0.01, Maven 3.3.9

      Hello,

      We are using repository-connector plugin (version 1.1.3) for resolving maven repository artifact in jenkins 2.11. When I launch the "build with parameters", it succeed to give me the release versions stored in Nexus 2.12.0.01. But after choosing a version and building the job, it fails with the following error: (org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'version' in '${version}')
      For more details please check the attached files.
      I am looking for your help.

      Best regards

        1. Artifact Resolver.png
          Artifact Resolver.png
          17 kB
        2. Build.png
          Build.png
          4 kB
        3. Error-Build.PNG
          Error-Build.PNG
          27 kB
        4. POM.xml
          4 kB
        5. maven-repository-artifact.PNG
          maven-repository-artifact.PNG
          8 kB

            Unassigned Unassigned
            mariem_baccar mariem baccar
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: