diff --git a/Jenkinsfile b/Jenkinsfile index 813677a..1158fae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,23 +1,11 @@ node('built-in') { - stage('Continuous Download') + stage('Continuous Download_cards2') { - git 'https://github.com/sunildevops77/maven.git' + git 'https://github.com/Gangareddy0/mycode_multibranch.git' } - stage('Continuous Build') + stage('Continuous Build_cards2') { 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' - } }