Testing CI/CD Pipeline - Automated Deployment
A test post to verify our Jenkins CI/CD pipeline is working correctly for automated portfolio deployments.
Words
327
Read Time
2 min read
Category
General
Recent articles you open here will appear in this quick history.
π Testing CI/CD Pipeline - Automated Deployment
This is a test blog post created to verify that our Jenkins CI/CD pipeline is working correctly for automated portfolio deployments.
π― What We're Testing
When this post is committed and pushed to the main branch, the following should happen automatically:
- Jenkins Pipeline Triggers - Detects the new commit
- Dependencies Installation - Installs npm packages
- Docker Image Build - Builds the Next.js application
- Container Testing - Verifies the new content is accessible
- Production Deployment - Updates the live site at
jay739.dev
π§ Pipeline Stages
Stage 1: Code Checkout
- Pulls latest code from Git repository
- Validates the new MDX file is present
Stage 2: Install Dependencies
- Runs
npm ci(ornpm installas fallback) - Ensures all packages are up to date
Stage 3: Build Docker Image
- Builds using existing
core.ymlconfiguration - Creates optimized production image
Stage 4: Test Container
- Starts container with new image
- Verifies the test post is accessible
- Checks for any build errors
Stage 5: Deploy to Production
- Stops current portfolio container
- Deploys new container with updated content
- Cleans up old images
β Success Criteria
If this post appears on your live portfolio site at jay739.dev/blog/ci-cd-test-post, then the CI/CD pipeline is working perfectly!
π Expected Result
After pushing this post:
- Jenkins Dashboard: Should show a successful build
- Live Site: This post should be visible at
/blog/ci-cd-test-post - Deployment Time: Should take 2-3 minutes from push to live
π Monitoring
You can monitor the deployment process by:
- Checking Jenkins dashboard at
http://100.89.188.84:8090 - Watching the build logs in real-time
- Verifying the post appears on your live site
This post was created on December 19, 2024 to test the automated deployment pipeline. If you're reading this on the live site, congratulations - the CI/CD pipeline is working! π
Follow This Topic
Keep exploring through related builds and skill areas connected to this post.
Related Projects