Skip to content
Open

D2 #33

Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pipeline {
agent { label 'java' }
stages {
stage('checkout') {
steps {
sh 'git clone https://github.com/darshanbguru/hello-world-war.git'
}
}

stage('build') {
steps {
sh 'mvn clean package'
}
}
stage('deploy') {
steps {
sh 'cp /home/slave-1/workspace/P4/target/hello-world-war-1.0.0.war /opt/apache-tomcat-9.0.62/webapps'
}
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Hello World! (WAR-style)
hii this is darshan
hiiii
===============

This is the simplest possible Java webapp for testing servlet container deployments. It should work on any container and requires no other dependencies or configuration.