Repository navigation
Jenkins
There's two instances of Jenkins setup:
Both can be access through the same credentials. The instance running at UCSB was setup (2015-11-17) on Ubuntu 14.04 following the standard process as documented by Jenkins.
The jenkins cli needs JNLP, which is a pita. Configure a static TCP port in Manage Jenkins | Configure Global Security | TCP port for JNLP slave agents. We are using 49431.
-
Download the client jar
-
Setup an ssh rsa key, and add it do http://jenkins/me/configure
-
ssh tunnel to the jenkins host, forwarding ports 8080 and 49431:
ssh -L8080:localhost:8080 -L49431:localhost:49431 jenkins-1.dataone.org
-
Go to town:
java -jar jenkins-cli.jar -i id_jenkins_rsa -s http://localhost:8080/jenkins
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
ProxyPassReverse / http://jenkins-ucsb-1.dataone.org/
AllowEncodedSlashes NoDecode
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
This material is based upon work supported by the National Science Foundation under Grant Numbers 083094 and 1430508.
Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.