diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..75e400a88 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent { label 'java4' } + stages { + stage('checkout') { + steps { + sh 'git clone https://github.com/SarithaTptr/hello-world-war.git' + } + } + stage('build') { + steps { + sh 'mvn clean package' + } + } + stage('deploy') { + steps { + sh 'cp /home/slave-3/workspace/45/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..1c2d5d6fe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ Hello World! (WAR-style) +today is wednesday +hi saritha this sahana =============== 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.