diff --git a/Dockerfile b/Dockerfile index 5877a4af..08fedf57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ From tomcat:8-jre8 # Maintainer -MAINTAINER "sai4cs@gmail.com" +MAINTAINER "nani" COPY ./webapp.war /usr/local/tomcat/webapps RUN cp -R /usr/local/tomcat/webapps.dist/* /usr/local/tomcat/webapps + diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..d5038f23 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# Maven +# Build your Java project and run tests with Apache Maven. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/java + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- task: Maven@3 + inputs: + mavenPomFile: 'pom.xml' + mavenOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'clean install package' diff --git a/test b/test new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test @@ -0,0 +1 @@ + diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp index c22c57f7..ab2f3b8f 100644 --- a/webapp/src/main/webapp/index.jsp +++ b/webapp/src/main/webapp/index.jsp @@ -1,2 +1,5 @@ -