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 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
OK, if anyone could help me with this I'd be much appreciative. If you
I need to get substed drive letter in Perl. Could anyone kindly help me?
I am getting the following error and could use some help resolving it. Anyone
Working on a console application using Delphi 7, and have run into a problem.
Could anyone explain with some examples when it is better to call functions by
Could anyone could point me to some code/give me ideas on how to create
Could anyone recommend a good BAML Decompiler / Viewer besides BAML Viewer plugin for
Could anyone suggest a good packet sniffer class for c++? Looking for a easy
Could anyone explain me why: function doAjax() { var xmlHttpReq = false; try {

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.