Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
USER=hudson
PASS=password
HUDSON_URL=http://$USER:$PASS@<my-build-server>:8080
JOB=$1
TOKEN=$2
CAUSE=$2
set -x
lwp-request -ds "$HUDSON_URL/job/$JOB/build?token=$TOKEN"
@olleolleolle

This comment has been minimized.

Copy link

commented Oct 25, 2011

Thanks for writing up such a neat article about CI for iOS on Jenkins.

# Curious detail: on some systems, like OS X, the lwp-request points to a program that will need an additional parameter:
lwp-request -m GET -ds "$HUDSON_URL/job/$JOB/build?token=$TOKEN"

Many ways to skin a cat, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.