From 2ae911c47b0b2256e269c12d6b9e312d8a0b4b22 Mon Sep 17 00:00:00 2001 From: git account of mine <123944227+Gangareddy0@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:41:04 +0530 Subject: [PATCH 1/3] Update Jenkinsfile Jenkinsfile changes --- Jenkinsfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 813677a..66f90e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,16 +8,4 @@ node('built-in') { sh label: '', script: 'mvn package' } - stage('Continuous Deployment') - { -sh label: '', script: 'scp /home/ubuntu/.jenkins/workspace/ScriptedPipeline/webapp/target/webapp.war ubuntu@172.31.26.217:/var/lib/tomcat8/webapps/qaenv.war' - } - stage('Continuous Testing') - { - sh label: '', script: 'echo "Testing Passed"' - } - stage('Continuous Delivery') - { -sh label: '', script: 'scp /home/ubuntu/.jenkins/workspace/ScriptedPipeline/webapp/target/webapp.war ubuntu@172.31.22.88:/var/lib/tomcat8/webapps/prodenv.war' - } } From 27b9fab0724fcc4eb9946651e13c060e8d1fa4c1 Mon Sep 17 00:00:00 2001 From: git account of mine <123944227+Gangareddy0@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:44:19 +0530 Subject: [PATCH 2/3] Update Jenkinsfile cards jenkins file commited --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 66f90e8..fa4d110 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,10 @@ node('built-in') { - stage('Continuous Download') + stage('Continuous Download_cards') { - git 'https://github.com/sunildevops77/maven.git' + git 'https://github.com/Gangareddy0/mycode_multibranch.git' } - stage('Continuous Build') + stage('Continuous Build_cards') { sh label: '', script: 'mvn package' } From a981fe35c975d596a5d3a5ebe9e5543697c631b6 Mon Sep 17 00:00:00 2001 From: git account of mine <123944227+Gangareddy0@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:22:44 +0530 Subject: [PATCH 3/3] Update Jenkinsfile 2 add --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa4d110..1158fae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,10 @@ node('built-in') { - stage('Continuous Download_cards') + stage('Continuous Download_cards2') { git 'https://github.com/Gangareddy0/mycode_multibranch.git' } - stage('Continuous Build_cards') + stage('Continuous Build_cards2') { sh label: '', script: 'mvn package' }