You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
what
Added buildspec.yml
Added init.groovy
Updated Dockerfile
why
buildspec.yml allows AWSCodeBuild to build the Docker image and store it in an ECR repository
init.groovy script allows complete Jenkins automation including setting up the initial admin user, configuring security mode, jobs, slave access, and more
Dockerfile:
Sets JavaENV vars to disable Jenkins setup wizard UI
Installs Jenkins plugins
Calls init.groovy to automate Jenkins setup, e.g. configuring the initial admin user, security mode, and jobs executors
Exposes Jenkins HTTP port 8080 in the Docker container