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

Cant use SVN_REVISION as pipeline version

    XMLWordPrintable

Details

    Description

      Cant use SVN_REVISION as pipeline version.
      The problem is that class PipelineVersionContributor extends RunListener which get a signal before the SCM checkout.

      Attachments

        Activity

          PipelineVersionContributor is now a BuildWrapper. It will now generate the version after the SCM checkout.

          patbos Patrik Boström added a comment - PipelineVersionContributor is now a BuildWrapper. It will now generate the version after the SCM checkout.

          This is an old issue, but I still can't figure out how to make it work even though it has been marked as resolved. Does anyone have a pipeline snippet he could share ?

          psoares Philippe Soares added a comment - This is an old issue, but I still can't figure out how to make it work even though it has been marked as resolved. Does anyone have a pipeline snippet he could share ?

          People

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

            Dates

              Created:
              Updated:
              Resolved: