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

Use variables in URLs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • Jenkins 1.466.1
      URLTrigger 0.24
      EnvInject 1.57

      I'm polling a nexus URL to check changes of a SNAPSHOT maven artifact.
      I could hardcode the version but it's used in different places...

      The URL I want to poll looks like:

      http://myhost/service/local/artifact/maven/redirect?r=myrepo&g=mygroupid&a=myartifactid&v=${MY_VERSION}...
      

      The MY_VERSION variable is defined in Prepare an environment for the run -> Properties Content (with the envinject plugin).

            gbois Gregory Boissinot
            dridi Dridi Boukelmoune
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: