diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..decfacca5 --- /dev/null +++ b/Jenkinsfile @@ -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' + } +} +} +} diff --git a/README.md b/README.md index 2d4e291f5..6e30fdeeb 100644 --- a/README.md +++ b/README.md @@ -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.