Jenkins is installed from Turnkey-Linux Jenkins-VM 
<http://www.turnkeylinux.org/jenkins>, running in a virtual server 
environment (Windows host in Virtualbox) with a local private IP address 
and operating on port 80. The development team and I are all remote, so we 
need to have Jenkins exposed over Internet. The private network in 
Virtualbox is set to bridged, as per Turnkey-Linux install instructions. 
The router at this location is using NAT to translate incoming requests on 
port 8181 on the WAN interface to the Jenkins local IP on port 80, only for 
certain incoming IPs. 

Under this setup, I am able to log into Jenkins from the outside, update 
Jenkins, set up jobs that grab code from our SCM hosted on Bitbucket, build 
it, send out emails, everything looks great!

I would really like to have the build jobs triggered by the bitbucket-plugin 
<https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin>. I installed 
it on Jenkins, configured it for my job, set up Bitbucket to POST to 
$CORPORATE_WEB:8181/bitbucket-hook, and we allowed the Bitbucket IPs to go 
through the firewall. We have run packet captures on the router and have 
seen requests from the Bitbucket IP address hitting the WAN interface of 
the router on port 8181 and being forwarded to the Jenkins box. Nothing 
happens in Jenkins: the Bitbucket trigger log is empty!

I tried manually going to $CORPORATE_WEB:8181/bitbucket-hook and get this 
issue <https://issues.jenkins-ci.org/browse/JENKINS-23681>, which in my 
case is a good thing? We also tried completely opening up the firewall and 
triggering a git push, still nothing in Jenkins.

What else can I try to figure out where is the problem?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5c234d81-bb85-4d77-a732-18a783bd0269%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to