This project provides a starter kit for Jenkins projects hosted on Platform.sh. The Jenkins .war
file is downloaded during the build hook and not included in the repository.
Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery.
- Java 11
- Automatic TLS certificates
- Jenkins downloaded on the fly during build
- After creating a Jenkins project, the post-installation setup wizard begins.
- When you first access a new Jenkins instance, you are asked to unlock it using an automatically-generated password.
- Browse to the Jenkins service link and wait until the Unlock Jenkins page appears.
- From the Jenkins console log output, copy the automatically-generated alphanumeric password
- (Execute:
platform ssh cat /app/.jenkins/secrets/initialAdminPassword
and copy the output)[https://docs.platform.sh/development/access-site.html#accessing-the-application-with-ssh] - On the Unlock Jenkins page, paste this password into the Administrator password field and click Continue.
The following files and additions make the Jenkins work. If using this project as a reference for your own existing project, replicate the changes below to your project.
.platform/routes.yaml
: Platform.sh allows you to define the routes..platform/services.yaml
: Platform.sh allows you to completely define and configure the topology and services you want to use on your project..platform.app.yaml
: You control your application and the way it will be built and deployed on Platform.sh via a single configuration file.