- Create an AWS EC2 instance, install JDK (v11 in this demo), configure and install Jenkins.
- Expose jenkins to port 8080 of the instance and make it accessible by editing the inbound rules.
- Create a Dockerfile using node-alpine as the parent image, copy all the source files and expose this to port 8000.
- Back to Jenkins, configure the job by adding the build steps; enable GitHub hook trigger for GITScm polling and configuring GitHub by adding a webhook for automatic job scheduling if a trigger is detected.
- Finally, to check everything is working as expected head towards http://ip-address-of-your-aws-instance:8000 !
-
Notifications
You must be signed in to change notification settings - Fork 0
akhil3shh/ci-cd-jenkins
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published