Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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'
}
}