Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 743877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:54:50+00:00 2026-05-14T08:54:50+00:00

I’m trying to set up hudson with git according to this article , but

  • 0

I’m trying to set up hudson with git according to this article,
but I still get git errors during build:

FATAL: Could not apply tag-PROJECTNAME-ID
...
Caused by: hudson.plugins.git.GitException: Command returned status code 128: 
*** Please tell me who you are.

running: git config --global user.name shows valid data, .gitconfig is accessible.

How to correct those errors?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:54:50+00:00Added an answer on May 14, 2026 at 8:54 am

    If might need both user.name and user.email.
    There is actually an open ticket to set them automatically.

    It might also be a Hudson server issue:

    I was a little confused to see this message since I had already configured git to have my user name and email.
    Then I remembered that Hudson is running on tomcat which is running with the tomcat6 user.
    I needed to configure the tomcat6 user to have the git configuration necessary to tag on the git repositories.

    Setup the git configuration for the tomcat6 user by doing the following:

    sudo -s -H -u tomcat6
    git config --global user.name "Hudson"
    git config --global user.email "hudson@mydomain.com"
    exit
    

    As a note, if you are using Hudson to commit and push to another repository these configuration settings will be used for all commits done by Hudson.

    The next step is to let Hudson know where the HOME is for the tomcat6 user.
    On the Hudson/configure page there is a checkbox for defining environment variables.
    Once it is checked you will be able to put in a key-value pair. Add the following pair and save your configuration:

    name: HOME
    value: /usr/share/tomcat6/
    

    The next time a Hudson project is built you should see the following line close to the top of the console output:

    Env: HOME=/usr/share/tomcat6/
    

    The git plugin should now be able to successfully tag the repository and continue with the build.


    As mentioned here, you might have a special tomcat6 user with no account (no login allowed, with no shell: I quote “tomcat6はログイン不許可( シェルは/bin/false)ってなっている”), in which case you need to setup user.name and email on the system level)

    git config - system user.email "kompiro @ ..."
    git config --system user.name " kompiro... " 
    

    If you are using the tomcat6 user in Hudson, Hudson will need to see that user in the /etc/passwd, as mentioned here:

    More specifically, in the /etc/passwd. For some reason here GIT need an entry in the field for the full name. Under Ubuntu the Tomcat user has placed there by default, nothing (“Unter Ubuntu hat der Tomcat-User dort standardmäßig nichts gesetzt.”).
    Adds one there now simply ‘Tomcat 6,,, a‘, it also runs with the CI-neighbors.
    (“Fügt man jetzt dort einfach ‘Tomcat 6,,,‘ ein, läuft es auch mit dem CI-Nachbarn”)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.