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

Tag using project (pom) properties

    Details

    • Similar Issues:

      Description

      Create SVN tags by using project properties which are in pom.xml, like project version . We would like to tag our projects using the specified version in pom.xml (eg 1.0.0).

        Attachments

          Activity

          dmatag dmatag created issue -
          Hide
          geronimo wolfgang haefelinger added a comment -

          I would like to do the same - BUT, the only reasonable approach is NOT to put this into this plugin but rather to have another plugin which extracts arbitrary information from the (effective) Maven POM as properties/variables which can THEN be used by this plugin.

          Extracting the POM's version can - for example - be done using Jenkins Groovy post-build task. By using Groovy you can rather easily parse XML and then - somehow - propagate this information to be consumed by this plugin.

          Show
          geronimo wolfgang haefelinger added a comment - I would like to do the same - BUT, the only reasonable approach is NOT to put this into this plugin but rather to have another plugin which extracts arbitrary information from the (effective) Maven POM as properties/variables which can THEN be used by this plugin. Extracting the POM's version can - for example - be done using Jenkins Groovy post-build task. By using Groovy you can rather easily parse XML and then - somehow - propagate this information to be consumed by this plugin.
          Hide
          dmatag dmatag added a comment -

          Ok. This is not Jenkins' business. I Close it.

          Show
          dmatag dmatag added a comment - Ok. This is not Jenkins' business. I Close it.
          dmatag dmatag made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Defect [ 7 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 138190 ] JNJira + In-Review [ 204702 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              dmatag dmatag
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: