git-publisher is creating tag on the wrong SHA

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Below is the Jenkins log, the tag created at the end is from git-publisher and it's tagging on 1e57c10451838940c3b5b2d14410fe166d2a31e0, not on the SHA used by the build and sub projects.

      Started by an SCM change
      Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on oxgslcopsda01_Dev_Slave_1 in workspace /jenkinsslave/workspace/SIT3_Full_Rebuild_and_Deploy

      Deleting project workspace... done

      Checkout:SIT3_Full_Rebuild_and_Deploy / /jenkinsslave/workspace/SIT3_Full_Rebuild_and_Deploy - hudson.remoting.Channel@5645976f:oxgslcopsda01_Dev_Slave_1
      Using strategy: Default
      Last Built Revision: Revision 1e57c10451838940c3b5b2d14410fe166d2a31e0 (origin/master)
      Cloning the remote Git repository
      Cloning repository http://oxgslcrsa01.oaifield.onasgn.com:8082/git/ops
      git --version
      git version 1.7.7.3
      Fetching upstream changes from http://oxgslcrsa01.oaifield.onasgn.com:8082/git/ops
      Commencing build of Revision 82668c25c3600f04d15fff63391e3b9364447717 (origin/master)
      Checking out Revision 82668c25c3600f04d15fff63391e3b9364447717 (origin/master)
      Email was triggered for: Before Build
      Sending email for trigger: Before Build
      Sending email to: sebastien_tardif@oxfordcorp.com
      Waiting for the completion of SIT3_OPS_EXT4
      SIT3_OPS_EXT4 #623 completed. Result was SUCCESS
      Build step 'Trigger/call builds on other projects' changed build result to SUCCESS
      Waiting for the completion of SIT3_BUILD_DB
      SIT3_BUILD_DB #862 completed. Result was SUCCESS
      Waiting for the completion of SIT3_TOP_PARENT
      SIT3_TOP_PARENT #555 completed. Result was SUCCESS
      Waiting for the completion of SIT3_EXCHANGE_PROXY
      SIT3_EXCHANGE_PROXY #806 completed. Result was SUCCESS
      Waiting for the completion of SIT3_SOLR
      SIT3_SOLR #841 completed. Result was SUCCESS
      Waiting for the completion of SIT3_DEPLOY_NODE
      SIT3_DEPLOY_NODE #697 completed. Result was SUCCESS
      Waiting for the completion of SIT3_OPS
      SIT3_OPS #788 completed. Result was SUCCESS
      Waiting for the completion of SIT3_OPS_Smoketest_Functional_Tests
      SIT3_OPS_Smoketest_Functional_Tests #752 completed. Result was SUCCESS
      [SIT3_Full_Rebuild_and_Deploy] $ /bin/sh -xe /tmp/hudson1142830593144261056.sh
      + git tag -f OPS_SIT3_LATEST
      Updated tag 'OPS_SIT3_LATEST' (was 1e57c10)
      Started indexing related Jira issue keys
      Successfully indexed related Jira issue keys
      Updating OPSD-2070
      Updating OPSD-1994
      Pushing tag OPS_SIT3_LATEST to repo origin
      Email was triggered for: Success
      Sending email for trigger: Success
      Sending email to: sebastien_tardif@oxfordcorp.com
      Finished: SUCCESS

            Assignee:
            Unassigned
            Reporter:
            Sebastien Tardif
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: