Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-712

maven-site-plugin generates incorrect git -tag command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Incomplete
    • 3.3
    • None
    • multi module
    • None
    • maven 3.0.2
      jdk 1.7

    Description

      /*commit pom.xml */
      Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git commit --verbose -F /tmp/maven-scm-217365030.commit '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-services/pom.xml' '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-webapp/pom.xml' '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-static/pom.xml' pom.xml

      /*commit to HEAD */
      > [INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
      > [INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git symbolic-ref HEAD
      > [INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
      > [INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git push ssh://git@github.com/

      {org}

      /Section4362.git maven-release-test:maven-release-test
      > [INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
      > [INFO] Tagging release with the label section4362-parent-0.3...
      > [INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace" && git tag -F /tmp/maven-scm-882610155.commit section4362-parent-0.3

      /*-a, -s, and -u <key-id> are absent, -a is implied. so -a should have been supplied but was not so we'll bypass this for now */

      /*<tagname>
      The name of the tag to create, delete, or describe. The new tag name must pass ALL checks defined by git-check-ref-format(1). Some of these checks may restrict the characters allowed in a tag name.
      */
      since tagname is missing
      the generated git tag command doesnt know the name of what to commit to in refs/tags/
      (refs/tags/$tagname is used unless -d/-l/-v is given to delete, list or verify tags.)

      temp workaround is to commit everything at command line to git
      then use maven-site-plugin

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgainty Martin Gainty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: