diff --git a/jenkinsnew b/jenkinsnew
new file mode 100644
index 00000000..e60639c3
--- /dev/null
+++ b/jenkinsnew
@@ -0,0 +1,31 @@
+pipeline {
+ agent any
+
+ stages {
+ stage('gitjob') {
+ steps {
+ echo 'Cloning addressbook git-repo'
+ git 'https://github.com/poojagowda1320/addressbook.git'
+ }
+ }
+ stage('buildjob') {
+ steps {
+ echo 'Building...'
+ sh 'mvn compile'
+ }
+ }
+ stage('testjob') {
+ steps {
+ echo 'Testing...'
+ sh 'mvn test'
+ }
+ }
+ stage('deployjob') {
+ steps {
+ echo 'Deploying...'
+ sh 'mvn install'
+ archiveArtifacts artifacts: 'Dockerfile', followSymlinks: false
+ }
+ }
+ }
+}
diff --git a/pom.xml b/pom.xml
index 6bebf532..e8de89d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -162,7 +162,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.2
+ 3.8.1
1.8
1.8
@@ -173,6 +173,12 @@
jetty-maven-plugin
9.2.3.v20140905
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 3.4.0
+
+
org.apache.maven.plugins