Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D2 #33

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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.