With this repository, you can establish aj-composed-server server - for loading a well-established Jenkins server.
In order to establish a aj-composed-server, follow the below instructions on the server you want to host it:
- Make sure you have the following commands installed: git, docker & docker-compose.
- clone this repository (https://github.com/advancedJenkins/aj-composed-server) to a local folder and cd to it.
- Run ./aj.sh init to see that the path to the SSH private key file is correct and to set all values.
- Run ./aj.sh start to load the server.
- The first load will take at least 10 minutes, so please wait until the prompt is back.
- Once the load is over, browse to http://localhost:8080 and login with admin/admin credentials.
Once the server is up, you can modify it (e.g. add LDAP configuration, add seed jobs, add credentials and much more) following the instructions as in aj-bloody-jenkins and all files in the 'customization' folder.
The ./aj.sh script have the following actions: start, stop, restart, info, init, upgrade, status, apply, version.
The loaded server is already configured to work with aj-Jenkins-Pipeline so you can start working with it.