Deploy AWS Lambda functions via Jenkins Pipeline — demonstrates Lambda deployment workflow with the AWS Lambda Jenkins plugin.
This project provides a reference for deploying AWS Lambda functions from a Jenkins CI/CD pipeline, including:
- Maven build for Java Lambda functions
- Jenkins Pipeline (
Jenkinsfile) for automated deployment - Example Lambda functions with event handlers
GitHub Push
└─► Jenkins Pipeline
├─► mvn clean package
├─► Create deployment package (.zip)
└─► AWS Lambda Plugin → Update Function Code
| Plugin | Purpose |
|---|---|
| AWS Lambda Plugin | Deploy Lambda function |
| CloudBees AWS Credentials | Manage AWS credentials |
| Pipeline: AWS Steps | AWS operations in pipeline |
| Pipeline Utility Steps | File utilities |
git clone https://github.com/misoboy/aws-lambda-deploy.git
cd aws-lambda-deploycd aws-lambda-for-java
mvn clean package- Configure AWS credentials in Jenkins (
Manage Credentials) - Create a Pipeline job pointing to this repository
- The
Jenkinsfilehandles build and deploy automatically
.
├── aws-lambda-for-java/ # Java Lambda function source
│ └── Jenkinsfile # Jenkins pipeline definition
└── example/
└── process.png # Pipeline flow diagram
MIT