Automate GitHub Commit to Jenkins Workflows
detail.loadingPreview
Seamlessly integrate GitHub commits with Jenkins pipelines using this automated workflow. Trigger builds automatically upon code changes and streamline your CI/CD process.
About This Workflow
This n8n workflow orchestrates the integration between GitHub and Jenkins, automating your Continuous Integration and Continuous Deployment (CI/CD) pipeline. Upon a GitHub commit, a webhook triggers this workflow. The incoming commit data is then processed, potentially split, embedded using OpenAI's text-embedding-3-small model, and stored in Supabase for context retrieval. A RAG (Retrieval Augmented Generation) agent, powered by OpenAI's chat model and vector store, intelligently processes this information. The workflow then logs the outcome to a Google Sheet and can issue Slack alerts for errors, ensuring robust monitoring and efficient development cycles.
Key Features
- Automated Triggering: Initiates workflows directly from GitHub commit events via webhooks.
- Intelligent Processing: Leverages Langchain and OpenAI for text splitting, embedding, and RAG agent capabilities.
- Data Persistence: Stores commit data and processing outcomes in Supabase for contextual awareness.
- CI/CD Integration: Seamlessly connects GitHub commits to Jenkins for automated build and deployment triggers.
- Robust Monitoring: Logs results to Google Sheets and sends Slack alerts for error notifications.
How To Use
- Configure Webhook Trigger: Set up a webhook in your GitHub repository to point to the provided n8n webhook URL, using the
POSTmethod and the pathgithub-commit-jenkins. - Set up Text Splitter: Configure the
Text Splitternode with desiredchunkSizeandchunkOverlapfor processing commit data. - Configure OpenAI Embeddings: Provide your OpenAI API credentials and select the
text-embedding-3-smallmodel in theEmbeddingsnode. - Set up Supabase Integration: Connect your Supabase account and specify the
indexName(e.g.,github_commit_jenkins) in both theSupabase InsertandSupabase Querynodes. - Configure RAG Agent: Define the prompt for your
RAG Agent, including the system message and how it should process the incoming data. - Set up Google Sheets Logging: Provide your Google Sheets credentials and specify the
SHEET_IDandLogsheet name in theAppend Sheetnode. Map the output of theRAG Agentto theStatuscolumn. - Configure Slack Alerts: Enter your Slack API credentials and the desired channel (
#alerts) in theSlack Alertnode to receive error notifications.
Apps Used
Workflow JSON
{
"id": "f5b8d5d0-7ca2-4f87-9769-67424c0fabbe",
"name": "Automate GitHub Commit to Jenkins Workflows",
"nodes": 15,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f5b8d5d0-7ca2...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.