I've set up a simple Jenkins server on an Ubuntu EC2 server, and configured 
it to point to a Github repo (using a token for authentication). I've 
installed the github-pull-request-builder and required dependencies, and 
configured it as per the docs. It *almost* works - when I set the 
branch-specifier to a specific SHA (or path such as 'origin/pr/4/head', it 
works great.

However, when I set the branch-specifier to ${sha1}, it fails. And after 
setting the job to run a Python script, and print out os.environ(), it's 
not set - nor is anything else that seems to have a relative branch.

How does that variable get set? Am I missing something? As far as I can 
tell I followed the docs for setting it up. Thanks. And while I'm asking 
questions - what is the logic used to set sha1? Is it just the head of the 
highest-numbered pull-request branch?

John C>

Also asked on StackOverflow <http://stackoverflow.com/q/23198172/78409>. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to