# Trigger a Hudson build from Subversion on Windows

You can configure Subversion to trigger a build in Hudson when anything is commited into a repository. You do this by using the post-commit hook on your Subversion repository. Nearly all the samples i found work on a Unix/Linux machine. They all tell you to use something called wget, but wget is not something that comes with Windows. So you need to get a Windows version for it. Here is one that worked for me.

The content of the post-commit hook on your Subversion repository should look something like:

```E:\programs\wget -b http://yourserver:8080/job/yourjobname/build
```

## Some tips

• Try to run this command from the command line first to see if it works properly.
• To find the proper URL to start a build in Hudson, go to Hudson and enter the job. Now you hover over the Build now option and at the bottom of your browser the URL is shown.