From f225565c004fa047e21d0fbb3a85d0b285ff78ec Mon Sep 17 00:00:00 2001 From: santosh Date: Thu, 4 Oct 2018 21:59:40 +0400 Subject: [PATCH 01/25] new file added by santosh --- santosh.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 santosh.txt diff --git a/santosh.txt b/santosh.txt new file mode 100644 index 00000000..e1923af4 --- /dev/null +++ b/santosh.txt @@ -0,0 +1 @@ +Hello world!!! From 7005edbdd740ac81d27cf5b6df6cd5aecaf20015 Mon Sep 17 00:00:00 2001 From: santosh Date: Fri, 5 Oct 2018 10:09:00 +0400 Subject: [PATCH 02/25] New update by Santosh rai --- santosh.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/santosh.txt b/santosh.txt index e1923af4..cc038835 100644 --- a/santosh.txt +++ b/santosh.txt @@ -1 +1,3 @@ Hello world!!! + +New update From 600889277baea9544ce0735d9dfb44001778f2cd Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 11:15:08 +0400 Subject: [PATCH 03/25] update by santosh rai --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6772f2f4..999a9af2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM ubuntu:16.04 -RUN apt-get update && \ - apt-get upgrade -y && \ - apt-get install -y curl && \ - apt-get install -y software-properties-common && \ - add-apt-repository ppa:webupd8team/java -y && \ - apt-get update && \ +RUN yum update && \ + yum upgrade -y && \ + yum install -y curl && \ + yum install -y software-properties-common && \ + yum-repository ppa:webupd8team/java -y && \ + yum update && \ echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ - apt-get install -y oracle-java8-installer && \ - apt-get clean + yum install -y oracle-java8-installer && \ + yum clean RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat RUN cd /tmp From 8d98228d474b84e86f2b84fe84534a035db0d890 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 11:17:13 +0400 Subject: [PATCH 04/25] added centos:latest centos:latest --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 999a9af2..4cb8f661 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:16.04 +FROM centos:latest RUN yum update && \ yum upgrade -y && \ yum install -y curl && \ From fb5c6443c1a2c779a5e4e1c55571722a0920c410 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 11:22:26 +0400 Subject: [PATCH 05/25] ENV GOSU_VERSION 1.10 ENV GOSU_VERSION 1.10 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4cb8f661..e24a184a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM centos:latest +ENV GOSU_VERSION 1.10 RUN yum update && \ yum upgrade -y && \ yum install -y curl && \ From 8aafcd741fab16db2a6ba72c322a244777999c7d Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 11:27:43 +0400 Subject: [PATCH 06/25] test test --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e24a184a..52761c46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM centos:latest ENV GOSU_VERSION 1.10 -RUN yum update && \ +RUN yum clean all \ + yum update && \ yum upgrade -y && \ yum install -y curl && \ yum install -y software-properties-common && \ From b8f5ce9ebf4a50ce14bd522454430fc588f2e1ac Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 11:31:01 +0400 Subject: [PATCH 07/25] RUN set -x RUN set -x --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52761c46..59bb00ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM centos:latest ENV GOSU_VERSION 1.10 -RUN yum clean all \ - yum update && \ +RUN set -x +RUN yum update && \ yum upgrade -y && \ yum install -y curl && \ yum install -y software-properties-common && \ From 8de58baa88b912b908a0ee570bf477c355d40d25 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:20:58 +0400 Subject: [PATCH 08/25] added -y added -y --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59bb00ec..4fa893bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM centos:latest ENV GOSU_VERSION 1.10 RUN set -x -RUN yum update && \ +RUN yum update -y && \ yum upgrade -y && \ yum install -y curl && \ yum install -y software-properties-common && \ - yum-repository ppa:webupd8team/java -y && \ + yum-repository -y ppa:webupd8team/java -y && \ yum update && \ echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ yum install -y oracle-java8-installer && \ From eac9eda98063fbdfe169047cc99e024efa4a4818 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:23:48 +0400 Subject: [PATCH 09/25] added -y added -y --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4fa893bc..cd4b9a20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN yum update -y && \ yum update && \ echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ yum install -y oracle-java8-installer && \ - yum clean + yum clean -y RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat RUN cd /tmp From 0468d47ce75de0cd87e4b135a0f093d8ade06e5d Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:31:37 +0400 Subject: [PATCH 10/25] test test --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cd4b9a20..fab26050 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN yum update -y && \ yum install -y curl && \ yum install -y software-properties-common && \ yum-repository -y ppa:webupd8team/java -y && \ - yum update && \ + yum update -y && \ echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ yum install -y oracle-java8-installer && \ yum clean -y From 3383fdc4aa0209267a9f21bd238f12a445a3801b Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:40:31 +0400 Subject: [PATCH 11/25] test1 test1 --- Dockerfile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/Dockerfile b/Dockerfile index fab26050..10f1be6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,29 +1,4 @@ FROM centos:latest ENV GOSU_VERSION 1.10 RUN set -x -RUN yum update -y && \ - yum upgrade -y && \ - yum install -y curl && \ - yum install -y software-properties-common && \ - yum-repository -y ppa:webupd8team/java -y && \ - yum update -y && \ - echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ - yum install -y oracle-java8-installer && \ - yum clean -y -RUN groupadd tomcat -RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat -RUN cd /tmp -RUN curl -O http://mirrors.wuchna.com/apachemirror/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34.tar.gz -RUN mkdir /opt/tomcat -RUN gzip -V -RUN tar -xvzf apache-tomcat-8.5.34.tar.gz -C /opt/tomcat --strip-components=1 -RUN cd /opt/tomcat -RUN chgrp -R tomcat /opt/tomcat -COPY target/java-tomcat-maven-example.war /opt/tomcat/webapps -#RUN chown -R tomcat conf/ webapps/ work/ temp/ logs/ -#RUN update-java-alternatives -l -ENV JAVA_HOME /usr/lib/jvm/java-8-oracle -Run cd /opt/tomcat/bin -expose 8080 -#CMD /opt/tomcat/bin/catalina.sh run && tail -f /opt/tomcat/logs/catalina.out -CMD ["/opt/tomcat/bin/catalina.sh", "run"] +RUN yum update -y && From ee613213fbf13ec49f313ea246664e300e11c5f5 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:41:17 +0400 Subject: [PATCH 12/25] test test --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10f1be6f..5947904c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM centos:latest ENV GOSU_VERSION 1.10 RUN set -x -RUN yum update -y && +RUN yum update -y From 6e9e303ec57f9c1fd4af7f27f4801bc02635242f Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:54:30 +0400 Subject: [PATCH 13/25] ss ss --- Dockerfile | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5947904c..fc3bae11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,28 @@ -FROM centos:latest -ENV GOSU_VERSION 1.10 +FROM alpine:latest RUN set -x -RUN yum update -y +RUN yum update -y && \ + yum upgrade -y && \ + yum install -y curl && \ + yum install -y software-properties-common && \ + yum-repository -y ppa:webupd8team/java -y && \ + yum update -y && \ + echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ + yum install -y oracle-java8-installer && \ + yum clean -y +RUN groupadd tomcat +RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat +RUN cd /tmp +RUN curl -O http://mirrors.wuchna.com/apachemirror/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34.tar.gz +RUN mkdir /opt/tomcat +RUN gzip -V +RUN tar -xvzf apache-tomcat-8.5.34.tar.gz -C /opt/tomcat --strip-components=1 +RUN cd /opt/tomcat +RUN chgrp -R tomcat /opt/tomcat +COPY target/java-tomcat-maven-example.war /opt/tomcat/webapps +#RUN chown -R tomcat conf/ webapps/ work/ temp/ logs/ +#RUN update-java-alternatives -l +ENV JAVA_HOME /usr/lib/jvm/java-8-oracle +Run cd /opt/tomcat/bin +expose 8080 +#CMD /opt/tomcat/bin/catalina.sh run && tail -f /opt/tomcat/logs/catalina.out +CMD ["/opt/tomcat/bin/catalina.sh", "run"] From a31211fadcc60520a2737f7b69c71640cd8eeb60 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 13:56:32 +0400 Subject: [PATCH 14/25] test test --- Dockerfile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc3bae11..6772f2f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ -FROM alpine:latest -RUN set -x -RUN yum update -y && \ - yum upgrade -y && \ - yum install -y curl && \ - yum install -y software-properties-common && \ - yum-repository -y ppa:webupd8team/java -y && \ - yum update -y && \ +FROM ubuntu:16.04 +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y curl && \ + apt-get install -y software-properties-common && \ + add-apt-repository ppa:webupd8team/java -y && \ + apt-get update && \ echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ - yum install -y oracle-java8-installer && \ - yum clean -y + apt-get install -y oracle-java8-installer && \ + apt-get clean RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat RUN cd /tmp From 5e77a1faa622b9abf4660df9efefc1afc8d55e55 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 14:00:10 +0400 Subject: [PATCH 15/25] java updated java updated --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6772f2f4..676811de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:webupd8team/java -y && \ apt-get update && \ - echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ apt-get install -y oracle-java8-installer && \ + apt-get install -y oracle-java8-set-default && \ + echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ apt-get clean RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat From 5d6f2fa3fd70aa048a9ac77b64172d8cfa9b725d Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 14:03:43 +0400 Subject: [PATCH 16/25] san san --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 676811de..628e408e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,9 @@ RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:webupd8team/java -y && \ apt-get update && \ + echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ apt-get install -y oracle-java8-installer && \ apt-get install -y oracle-java8-set-default && \ - echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ apt-get clean RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat From ba013b7f30125fd0e56d693f77d6154c13c1d448 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Wed, 17 Oct 2018 16:22:05 +0400 Subject: [PATCH 17/25] new file new --- Dockerfile | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 628e408e..790da124 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,23 @@ FROM ubuntu:16.04 +LABEL MAINTAINER Santosh rai + +ENV DEBIAN_FRONTEND noninteractive +ENV JAVA_HOME /usr/lib/jvm/java-8-oracle +ENV LANG en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 + RUN apt-get update && \ - apt-get upgrade -y && \ - apt-get install -y curl && \ - apt-get install -y software-properties-common && \ - add-apt-repository ppa:webupd8team/java -y && \ - apt-get update && \ - echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ - apt-get install -y oracle-java8-installer && \ - apt-get install -y oracle-java8-set-default && \ - apt-get clean + apt-get install -y --no-install-recommends locales && \ + locale-gen en_US.UTF-8 && \ + apt-get dist-upgrade -y && \ + apt-get --purge remove openjdk* && \ + echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && \ + echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" > /etc/apt/sources.list.d/webupd8team-java-trusty.list && \ + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ + apt-get update && \ + apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default && \ + apt-get clean all + RUN groupadd tomcat RUN useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat RUN cd /tmp From 4c8f1bcc51465054854dae949508f1a28a53ace0 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:18:34 +0400 Subject: [PATCH 18/25] change in dockerfile change in dockerfile --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 790da124..902352da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ FROM ubuntu:16.04 LABEL MAINTAINER Santosh rai - ENV DEBIAN_FRONTEND noninteractive ENV JAVA_HOME /usr/lib/jvm/java-8-oracle ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 - RUN apt-get update && \ apt-get install -y --no-install-recommends locales && \ locale-gen en_US.UTF-8 && \ From fed0788773ed956897348890d34f5adc91d62865 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:40:30 +0400 Subject: [PATCH 19/25] added curl added curl --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 902352da..fe321a84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apt-get update && \ echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" > /etc/apt/sources.list.d/webupd8team-java-trusty.list && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ apt-get update && \ + apt-get install curl && \ apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default && \ apt-get clean all From 890e965b820396c4095dda42c54468cb263701fb Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:43:26 +0400 Subject: [PATCH 20/25] added curl added curl --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe321a84..3f49d049 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && \ echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" > /etc/apt/sources.list.d/webupd8team-java-trusty.list && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ apt-get update && \ - apt-get install curl && \ + apt-get install curl -y && \ apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default && \ apt-get clean all From 6456b7723031e2278aedfb5d5c29527c440d9c28 Mon Sep 17 00:00:00 2001 From: sr1890 Date: Tue, 23 Oct 2018 12:00:09 +0400 Subject: [PATCH 21/25] added scripts --- scripts/update.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 scripts/update.sh diff --git a/scripts/update.sh b/scripts/update.sh new file mode 100644 index 00000000..b1ba2702 --- /dev/null +++ b/scripts/update.sh @@ -0,0 +1,2 @@ + +echo " Santosh Rai" From b95090dcccff6fce696798cacb3d2b30e66e3b5a Mon Sep 17 00:00:00 2001 From: sr1890 Date: Wed, 24 Oct 2018 16:55:02 +0400 Subject: [PATCH 22/25] modified pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8e60eb85..5e426533 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ org.apache.maven.plugins maven-dependency-plugin - 2.3 + 3.2.0 package From 6f0292a29a5ca005d98fbddeebc19e9c0cddb49c Mon Sep 17 00:00:00 2001 From: sr1890 Date: Thu, 25 Oct 2018 08:47:12 +0400 Subject: [PATCH 23/25] added maven-surefire-pligin --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 5e426533..f74edcc0 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,14 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.19.1 + + false + + From 272515ea9349f96943024deef3fb2a0034636370 Mon Sep 17 00:00:00 2001 From: sr1890 Date: Thu, 25 Oct 2018 09:16:15 +0400 Subject: [PATCH 24/25] new pom file --- pom.xml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index f74edcc0..8e60eb85 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.2.0 + 2.3 package @@ -39,14 +39,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 2.19.1 - - false - - From 296731306095280022b6ae3b4643d046ed7f2139 Mon Sep 17 00:00:00 2001 From: sr1890 <41991320+sr1890@users.noreply.github.com> Date: Sun, 28 Oct 2018 14:45:53 +0400 Subject: [PATCH 25/25] updated jenkins fine --- Jenkinsfile | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 92668c34..79aaf291 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,14 @@ -node(){ -stage ("clone"){ -} -stage ("build"){ -} -stage ("test-unittesting"){ -} -stage ("Sonarqube"){ -} -stage ("Creating docker container"){ -} - -stage ("docker verification"){ -} - stage ("upload docker image to dockehu/artifactory"){ -} +pipeline { + agent any + tools { + jdk 'jdk8' + maven 'maven3' + } + stages { + stage('Install') { + steps { + sh "mvn clean test" + } + } + } }