Go to file
2016-01-22 11:09:20 -07:00
bin Adding the Docker packaging script 2014-05-01 11:16:21 -07:00
src Block userids make up of just sdfg in any order and just those characters. 2016-01-22 11:09:20 -07:00
.gitignore Block userids make up of just sdfg in any order and just those characters. 2016-01-22 11:09:20 -07:00
bulk-import.sh added convenience scripts 2011-03-17 22:10:56 -07:00
circuitBreaker.txt Improved circuit breaker admin UI 2015-12-15 10:36:13 -08:00
deploy.sh restart isn't working 2015-12-15 10:42:29 -08:00
Dockerfile Switch to the alpine-based Java root image with JRE8 2016-01-04 11:02:15 -08:00
Makefile Adding the Docker packaging script 2014-05-01 11:16:21 -07:00
pom.xml INFRA-550 - First stab at reCAPTCHA 2. 2016-01-19 11:26:26 -07:00
README.md Move the readme file to a more conventional name 2016-01-04 10:09:02 -08:00
TODO.txt added a bulk import command 2011-01-28 12:48:20 -08:00

Jenkins Account Management/Sign-up App

Build Status

Testing locally

First, set up a tunnel to Jenkins LDAP server. Run the following command and keep the terminal open:

ssh -L 9389:localhost:389 cucumber.jenkins-ci.org

Create config.properties in the same directory as pom.xml. See the Parameters class for the details, but it should look something like the following:

server=ldap://localhost:9389/
managerDN=cn=admin,dc=jenkins-ci,dc=org
newUserBaseDN=ou=people,dc=jenkins-ci,dc=org
smtpServer=localhost
recaptchaPublicKey=6Ld--8ASAAAAANHmHaM1sdSYshtmXTin1BNtaw86
recaptchaPrivateKey=*****
managerPassword=*****
circuitBreakerFile=./circuitBreaker.txt
url=http://localhost:8080/account/

Finally, run the application with Jetty, then access http://localhost:8080/:

mvn jetty:run

(As you can see above, this connects your test instance to the actual LDAP server, so the data you'll be seeing is real.

Packaging

For deploying to production, this app gets containerized. The container expects to see /etc/accountapp mounted from outside that contains the abovementioned config.properties