filmov
tv
DevOps Tutorial 12 : CICD Java Maven project using Jenkins Code as Pipeline

Показать описание
Hello Friends ,
Welcome to DevOps tutorial .
In this lecture we will learn CICD Java Maven project using Jenkins Code as Pipeline.
Below is the script for Jenkins Pipeline
pipeline {
agent any
stages{
stage('clean the code ')
{
steps{
sh 'mvn clean'
}
}
stage('unit testing')
{
steps{
sh 'mvn test'
}
}
stage('deploy to tomcat')
{
steps{
sh 'mvn package'
sshagent(['tomcat']) { . // get this from pipeline script using sshAgent plugins
sh """
scp -o StrictHostKeyChecking=no **/*.war yourserver:/opt/tomcat/apache-tomcat-9.0.33/webapps
"""
}
}
}
}
}
#Jenkins #CodeAsPipeline #DevOps #CICD #Java # JenkinsCodeAsPipeline
#continuousintegration #continuousdeployment #maven #Tomcat9
Welcome to DevOps tutorial .
In this lecture we will learn CICD Java Maven project using Jenkins Code as Pipeline.
Below is the script for Jenkins Pipeline
pipeline {
agent any
stages{
stage('clean the code ')
{
steps{
sh 'mvn clean'
}
}
stage('unit testing')
{
steps{
sh 'mvn test'
}
}
stage('deploy to tomcat')
{
steps{
sh 'mvn package'
sshagent(['tomcat']) { . // get this from pipeline script using sshAgent plugins
sh """
scp -o StrictHostKeyChecking=no **/*.war yourserver:/opt/tomcat/apache-tomcat-9.0.33/webapps
"""
}
}
}
}
}
#Jenkins #CodeAsPipeline #DevOps #CICD #Java # JenkinsCodeAsPipeline
#continuousintegration #continuousdeployment #maven #Tomcat9
DevOps CI/CD Explained in 100 Seconds
DevOps Tutorial 12 : CICD Java Maven project using Jenkins Code as Pipeline
Azure DevOps Tutorial for Beginners | CI/CD with Azure Pipelines
CI/CD Explained: The DevOps Skill That Makes You 10x More Valuable
The Ultimate CICD Corporate DevOps Pipeline Project | Real-Time DevOps Project
DevOps with GitLab CI Course - Build Pipelines and Deploy to AWS
DevOps - What is the Fastest Way To Learn ?
DevOps Tutorial For Beginners | Demo on CI/CD Pipeline Using Jenkins | Invensis Learning
AWS DevOps Explained: Part 6 of 12 AWS Tutorial | CI/CD Tools, Build, Deploy, Pipeline | K21Academy
CICD Pipeline | DevOps Tutorial with Project | CI CD Pipeline using AWS | DevOps CI CD Project | K8S
CI/CD Integration with TestGrid | Continuous Integration and Deployment | DevOps Tutorial |
DevOps: CI/CD Introduction (Continuous Integration, Continuous Delivery, Continuous Deployment)
Introduction to Jenkins, CI/CD, and DevOps for Beginners
CI/CD | Continuous Integration | Delivery | Deployment
What is CICD Pipeline? CICD process explained with Hands On Project
Jenkins Tutorial - PHP CI/CD Pipeline with GitHub, Apache | DevOps
Top 3 AI Tools in DevOps 🤖 #devops #ai
What Is CI/CD In DevOps? | GitLab CI/CD Tutorial | Part I 💻👌
Stages In A CI-CD Pipeline | DevOps Shack
DevOps Engineer Kaise Bane? | DevOps Engineer Roadmap For 2025 | Intellipaat #Shorts #DevOps
Introduction to CI CD Pipeline | CI CD Explained | DevOps Training | Edureka Rewind
DevOps Engineering Course for Beginners
DevOps Tools Explained | DevOps Tools Tutorial for Beginners | DevOps Tutorial |Simplilearn
Jenkins Features for DevOps Interviews Part 1 #devops #cloud #jenkins #logicopslab
Комментарии