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

Expose parsed maven project version

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None

      JENKINS-18272 introduced the POM_VERSION enviroment variable but it would be nice to also get the parsed version.

      Example:
      Version is 1.0-SNAPSHOT

      POM_VERSION = 1.0-SNAPSHOT
      POM_VERSION_MAJOR = 1
      POM_VERSION_MINOR = 0
      POM_VERSION_QUALIFIER = SNAPSHOT

            Unassigned Unassigned
            mmchr Mads Mohr Christensen
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: