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

Cant use SVN_REVISION as pipeline version

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          Hide
          patbos Patrik Boström added a comment -

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

          Show
          patbos Patrik Boström added a comment - PipelineVersionContributor is now a BuildWrapper. It will now generate the version after the SCM checkout.
          Hide
          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 ?

          Show
          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

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

              Dates

              • Created:
                Updated:
                Resolved: