Go to file
R. Tyler Croy fb4607dc1e Merge pull request #94 from larrys/master
Remove a few blacklist items.
2016-04-24 09:06:38 -07:00
gradle/wrapper Migrate the accountapp to Gradle and prepare for Docker-based deployment 2016-03-21 13:14:02 -07:00
src Remove a few blacklist items. 2016-04-22 08:55:32 -06:00
.gitignore Migrate the accountapp to Gradle and prepare for Docker-based deployment 2016-03-21 13:14:02 -07:00
Dockerfile Pick up a few more variables that the jira-ldap-syncer assumes will be there 2016-03-24 07:10:11 -07:00
Jenkinsfile Force the project name to be `accountapp` so Gradle doesn't get clever 2016-03-21 14:38:01 -07:00
README.md Update the container to use the official jetty image 2016-03-22 20:31:27 -07:00
build.gradle Remove geoip information. ipvoid link can provide that information, if needed. 2016-04-08 11:36:47 -06: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
gradlew Migrate the accountapp to Gradle and prepare for Docker-based deployment 2016-03-21 13:14:02 -07:00
gradlew.bat Migrate the accountapp to Gradle and prepare for Docker-based deployment 2016-03-21 13:14:02 -07:00
settings.gradle Force the project name to be `accountapp` so Gradle doesn't get clever 2016-03-21 14:38:01 -07:00

README.md

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/:

./gradlew jettyRun

(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

To run the container locally, build it then:

docker run -ti --net=host  -v `pwd`:/etc/accountapp jenkinsciinfra/account-app:latest