Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: plugin-pom
    • Labels:
      None
    • Similar Issues:
    • Epic Link:

      Description

      Would be useful for PCT and generally other tools. Might require changes to flatten-maven-plugin.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Fortunately for JENKINS-50693, MRP seems to set <tag> back to the expression it was before the release, so this needs no cleaning up.

            Show
            jglick Jesse Glick added a comment - Fortunately for JENKINS-50693 , MRP seems to set <tag> back to the expression it was before the release, so this needs no cleaning up.
            Hide
            jglick Jesse Glick added a comment -

            Patched git-changelist-maven-extension in 1.0-alpha-2 to set an scmTag parameter, and using that as

            <scm>
              <!-- … -->
              <tag>${scmTag}</tag>
            </scm>
            

            Confirmed that .flattened-pom.xml contains

            • no tag when from a snapshot
            • an actual tag when in a MRP artifact
            • a commit hash when in Incrementals mode
            Show
            jglick Jesse Glick added a comment - Patched  git-changelist-maven-extension in 1.0-alpha-2 to set an scmTag parameter, and using that as <scm> <!-- … --> <tag> ${scmTag} </tag> </scm> Confirmed that .flattened-pom.xml contains no tag when from a snapshot an actual tag when in a MRP artifact a commit hash when in Incrementals mode
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            http://jenkins-ci.org/commit/pom/3dd6e2d377daec76f58e50f47827760e8d390d13
            Log:
            JENKINS-50716 Flatten scm/tag.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml http://jenkins-ci.org/commit/pom/3dd6e2d377daec76f58e50f47827760e8d390d13 Log: JENKINS-50716 Flatten scm/tag.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            http://jenkins-ci.org/commit/plugin-pom/3a7175bace6072f1075a9ded068e46985f282c7e
            Log:
            JENKINS-50716 Flatten scm/tag.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml http://jenkins-ci.org/commit/plugin-pom/3a7175bace6072f1075a9ded068e46985f282c7e Log: JENKINS-50716 Flatten scm/tag.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            incrementals.md
            http://jenkins-ci.org/commit/plugin-pom/c86bfaebc5179fdb42d4e7b71d87591f95466cbe
            Log:
            JENKINS-50716 Documentation for flattening of scm/tag.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: incrementals.md http://jenkins-ci.org/commit/plugin-pom/c86bfaebc5179fdb42d4e7b71d87591f95466cbe Log: JENKINS-50716 Documentation for flattening of scm/tag.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            .mvn/extensions.xml
            pom.xml
            http://jenkins-ci.org/commit/git-plugin/1654fd130b75209ed4b83fc3abc42e78530c5e93
            Log:
            JENKINS-50716 Flatten scm/tag.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: .mvn/extensions.xml pom.xml http://jenkins-ci.org/commit/git-plugin/1654fd130b75209ed4b83fc3abc42e78530c5e93 Log: JENKINS-50716 Flatten scm/tag.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: