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

Error while creating a tag in Promotion step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • Linux Ubuntu (Linux new-forge-services-2 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux),
      Jenkins 1.645
      git-plugin : 2.5.0

      During a promotion of a succesfull build, I try to create and publish an new tag if build is successful.
      In the Promotion / Action / Git publisher box I enter:

      Push Only If build Succeeds : Checked,
      Tags :

      • tags to push : ${release}
      • Tag message : The release ${release} from CI automatic build promotion
      • Create new tag : checked
      • Target remote name : origin

      The git clone is configured as :

      • Repository URL : git@forge-git:/datas/git/<myrepo>.git
      • Name : origin
      • Branch specifier : ${forgeRelease}

      Where : ${release} is frg1.14.0 and ${forgeRelease} is master

      The promotion fails with the following error :

      Started by user jmc
      Building in workspace /datas/jenkins/jobs/forge-forgeCI-start/workspace
      Promoting forge-forgeCI-start #33
      failed build hudson.plugins.git.GitPublisher@35d1f590 SUCCESS
      Finished: FAILURE
      

      Without any more explanation. jenkins.log doesn't say more. I try many combinaison without success. Any help would be greatly appreciated.

            Unassigned Unassigned
            jmcollin Jean-Marc Collin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: