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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        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. maven-repository-artifact.PNG
          maven-repository-artifact.PNG
          8 kB
        5. POM.xml
          4 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: