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

Git Plugin Publish build results as note not working corretly

      Create a job and connect the add build results as note piece.

      have run both the git config --global user.email and user.name to add both the to the jenkins and git system config.
      Tried with and with out the "Create new accounts base on author/committer's email" under global config:
      Git plugin
      Global Config user.name Value
      has been set:

      run job and get the following:
      17:07:10 git-notes plugin: running command "git notes --ref jenkins add -f -F -" with opts {:stdin_str=>"

      {\n \"built_on\": \"master\",\n \"duration\": 2.075,\n \"full_display_name\": \"test-deploy #24\",\n \"id\": \"2013-05-13_17-07-07\",\n \"number\": 24,\n \"result\": \"SUCCESS\",\n \"status_message\": \"?\",\n \"time\": \"2013-05-13 17:07:07 +0000\",\n \"url\": \"job/test-deploy/24/\"\n}

      ", :raise=>true}
      17:07:10 [test-deploy] $ git notes --ref jenkins add -f -F -
      17:07:10 ERROR: Unexpected exit code (128): command: "git notes --ref jenkins add -f -F -": result: {:out=>"", :err=>"Overwriting existing notes for object 793cabab6f3cc1ef2348d71ac892b9257d55b7c2\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email \"you@example.com\"\n git config --global user.name \"Your Name\"\n\nto set your account's default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: empty ident name (for <jenkins@jenkins-system.examle.com>) not allowed\n", :val=>128} (RuntimeError)

            ndeloof Nicolas De Loof
            caroeber C. Alex Reober
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: