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

  • SEARCH
  • Home
  • 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 6158425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:57:18+00:00 2026-05-23T20:57:18+00:00

could anyone help me with this problem. What I have done is I wrote

  • 0

could anyone help me with this problem.
What I have done is I wrote a post-receive hook in a bare-repository to run hudson in my working copy

URL='http://192.168.1.1:8082/job/Jobforone/build'
echo "Run Hudson build at $URL"
wget $URL > /dev/null 2>&1

When I push from other remote computers to the bare repository in the 192.168.1.1(local server) hook is executed and hudson build is run in the working copy of the 192.168.1.1(local server) but the problem is working copy of 192.168.1.1 has not yet been updated until git pull is executed. So the hudson build runs on the same copy again and again(which makes no sense). So could anyone help me how could I write the hook that would perform pull on the local working copy and then perform the hudson build (above code).

  • 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-23T20:57:19+00:00Added an answer on May 23, 2026 at 8:57 pm

    I use Jenkins (very close to Hunson). I set-up post-hook (on a Github), as soon as push happend it triggers my Jenkins. What Jenkins does is run get fetch to update and then builds! It never run on working copy as you described.

    Check out your build settings, don’t forget to enable Git.

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

Sidebar

Related Questions

I was wondering if anyone could help me with this problem: I have to
Could anyone please help me convert this code to vb.net, I have tried it
Could anyone help me with this problem? Code zip is here: (link taken down)
OK, if anyone could help me with this I'd be much appreciative. If you
Could anyone please help me using C# Api in Z3. I have no idea
I wonder if anyone could help me with a problem I've been having. I
Im asking to see if anyone could help me with my problem which is
I have run in to this problem of converting a C++/CLI pointer to a
Could anyone help me to understand following line of code: sol< ?=f((1<< n)-1,i,0)+abs(P[i])*price; I
Could anyone help me in assessing why the code below doesn't work. I'm using

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.