From 112aa8d49bb1c774ed226796faf8b5be7e08025d Mon Sep 17 00:00:00 2001 From: git account of mine <123944227+Gangareddy0@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:47:24 +0530 Subject: [PATCH] Update Jenkinsfile master jenkinsfile updated --- Jenkinsfile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 813677a..23f499a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,23 +1,11 @@ node('built-in') { - stage('Continuous Download') + stage('Continuous Download_Master') { - git 'https://github.com/sunildevops77/maven.git' + git 'https://github.com/Gangareddy0/mycode_multibranch.git' } - stage('Continuous Build') + stage('Continuous Build_Master') { 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' - } }