From b8c236eedf9a2fb333a729c707e95e8d75d01923 Mon Sep 17 00:00:00 2001 From: DevOps Training Date: Tue, 31 Oct 2017 12:41:09 +0530 Subject: [PATCH 1/5] Update SampleController.java --- src/com/bt/contoller/SampleController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/bt/contoller/SampleController.java b/src/com/bt/contoller/SampleController.java index c38b416..e8fbf5c 100644 --- a/src/com/bt/contoller/SampleController.java +++ b/src/com/bt/contoller/SampleController.java @@ -20,7 +20,7 @@ String uploadImage(HttpServletRequest request, HttpServletResponse response, Htt throws JSONException { JSONObject js = new JSONObject(); - js.put("Name", "Gangadhar Reddy"); + js.put("Name", "Bhaskar Reddy"); js.put("Technology", "DevOps "); return js.toString(); From 55e71c4d96f6731d840e0f3221dfc4f967303556 Mon Sep 17 00:00:00 2001 From: "venkatasai@gmail.com" Date: Sun, 18 Nov 2018 08:28:19 +0530 Subject: [PATCH 2/5] New barnch commit --- newbranch | 1 + 1 file changed, 1 insertion(+) create mode 100644 newbranch diff --git a/newbranch b/newbranch new file mode 100644 index 0000000..9ba98fa --- /dev/null +++ b/newbranch @@ -0,0 +1 @@ +hi ne barnch created and code changes pushes into new branch From e20b15000e0f34c67e7eff8ba74f120e426b08b3 Mon Sep 17 00:00:00 2001 From: Venkat8123 Date: Thu, 26 Nov 2020 13:05:48 +0530 Subject: [PATCH 3/5] Add .circleci/config.yml --- .circleci/config.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..48de984 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,42 @@ +# Java Gradle CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-java/ for more details +# +version: 2 +jobs: + build: + docker: + # specify the version you desire here + - image: circleci/openjdk:8-jdk + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/postgres:9.4 + + working_directory: ~/repo + + environment: + # Customize the JVM maximum heap limit + JVM_OPTS: -Xmx3200m + TERM: dumb + + steps: + - checkout + + # Download and cache dependencies + - restore_cache: + keys: + - v1-dependencies-{{ checksum "build.gradle" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- + + - run: gradle dependencies + + - save_cache: + paths: + - ~/.gradle + key: v1-dependencies-{{ checksum "build.gradle" }} + + # run tests! + - run: gradle test From 11f7ebdebae0cf01628f99dfc173db2978335dcc Mon Sep 17 00:00:00 2001 From: Venkat8123 Date: Thu, 26 Nov 2020 13:12:22 +0530 Subject: [PATCH 4/5] Add .circleci/config.yml From eca8a6a684992f5c04f539a7dbf3073360e20479 Mon Sep 17 00:00:00 2001 From: Venkat8123 Date: Fri, 27 Nov 2020 14:44:26 +0530 Subject: [PATCH 5/5] Add .circleci/config.yml --- .circleci/config.yml | 47 +++++++------------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48de984..a5e876c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,42 +1,9 @@ -# Java Gradle CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-java/ for more details -# -version: 2 -jobs: - build: - docker: - # specify the version you desire here - - image: circleci/openjdk:8-jdk +version: 2.1 - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 +orbs: + maven: circleci/maven@0.0.12 - working_directory: ~/repo - - environment: - # Customize the JVM maximum heap limit - JVM_OPTS: -Xmx3200m - TERM: dumb - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "build.gradle" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: gradle dependencies - - - save_cache: - paths: - - ~/.gradle - key: v1-dependencies-{{ checksum "build.gradle" }} - - # run tests! - - run: gradle test +workflows: + maven_test: + jobs: + - maven/test # checkout, build, test, and upload test results