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

TokenMacro for getting a version value stored in environment variable

    XMLWordPrintable

Details

    Description

      TokenMacro for getting a version value stored in environment variable.
      As a parameter it is possible to remove -SNAPSHOT from the version.
      Example:

      ${ENV_VERSION,var="POM_VERSION",stripSnapshot=true}
      ${ENV_VERSION,var="POM_VERSION"}
      

      Attachments

        Issue Links

          Activity

            patbos Patrik Boström created issue -
            patbos Patrik Boström made changes -
            Field Original Value New Value
            Description TokenMacro for getting a version value stored in environment variable.
            As a parameter it is possible to remove -SNAPSHOT from the version.
            TokenMacro for getting a version value stored in environment variable.
            As a parameter it is possible to remove -SNAPSHOT from the version.
            Example:
            ${ENV_VERSION,var="POM_VERSION",stripSnapshot=true}
            ${ENV_VERSION,var="POM_VERSION"}
            patbos Patrik Boström made changes -
            Assignee Patrik Boström [ patbos ]
            lstrojny Lars Strojny made changes -
            Description TokenMacro for getting a version value stored in environment variable.
            As a parameter it is possible to remove -SNAPSHOT from the version.
            Example:
            ${ENV_VERSION,var="POM_VERSION",stripSnapshot=true}
            ${ENV_VERSION,var="POM_VERSION"}
            TokenMacro for getting a version value stored in environment variable.
            As a parameter it is possible to remove -SNAPSHOT from the version.
            Example:
            {code}
            ${ENV_VERSION,var="POM_VERSION",stripSnapshot=true}
            ${ENV_VERSION,var="POM_VERSION"}
            {code}
            patbos Patrik Boström made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            dawidmalina Dawid Malinowski made changes -
            Link This issue is related to JENKINS-28348 [ JENKINS-28348 ]
            patbos Patrik Boström made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156114 ] JNJira + In-Review [ 207786 ]

            People

              Unassigned Unassigned
              patbos Patrik Boström
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: