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

Extend version number with git SHA (our case 12396)

    XMLWordPrintable

Details

    Description

      We want snapshot build to be unique, and use unique numbers for tests and validation.

      Attachments

        Activity

          bue Bue Petersen added a comment -

          For the latest release you will see that the version is "2.2.0 (060cf)".

          This is okay for now, though the short SHA isn't strictly necessary for releases but more important for snapshots.

          Few other plugins, also uses custom version numbers.

          bue Bue Petersen added a comment - For the latest release you will see that the version is "2.2.0 (060cf)". This is okay for now, though the short SHA isn't strictly necessary for releases but more important for snapshots. Few other plugins, also uses custom version numbers.

          Code changed in jenkins
          User: Bue Petersen
          Path:
          pom.xml
          http://jenkins-ci.org/commit/pretested-integration-plugin/026ca1d8815e1054cac2d608a810848de1f56375
          Log:
          JENKINS-25873: Added git short SHA to version number

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bue Petersen Path: pom.xml http://jenkins-ci.org/commit/pretested-integration-plugin/026ca1d8815e1054cac2d608a810848de1f56375 Log: JENKINS-25873 : Added git short SHA to version number

          Code changed in jenkins
          User: Bue Petersen
          Path:
          pom.xml
          http://jenkins-ci.org/commit/pretested-integration-plugin/ba9e785a801ec86c64dc0cc3e5020674c7e160f8
          Log:
          JENKINS-25873: Disabled check of local workspace mods - build pipeline doesn't need it, and developers need the opposite

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bue Petersen Path: pom.xml http://jenkins-ci.org/commit/pretested-integration-plugin/ba9e785a801ec86c64dc0cc3e5020674c7e160f8 Log: JENKINS-25873 : Disabled check of local workspace mods - build pipeline doesn't need it, and developers need the opposite

          People

            bue Bue Petersen
            bue Bue Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: