1. Clear the workspace 2. Copy all of the files to local workspace 3. Stop service 4. Copy Survy.war file to TomCat folder 5. Start service false ylhealth 3 3 -1 -1 "Deploy Server" false false false false false Survey_Daily_Build false net stop LogServices COPY /Y "C:\Jenkins\workspace\Deploy_Survey\target\designer.war" "C:\apache-tomcat-8.5.5\webapps\" XCOPY /E /I /Y C:\Jenkins\workspace\Deploy_Survey\target\designer\* C:\apache-tomcat-8.5.5\webapps\designer COPY /Y "C:\SurveyDBConnection\applicationContext.xml" "C:\apache-tomcat-8.5.5\webapps\survey\WEB-INF\" net start LogServices false false true true false true false false false 30