From 09de335b143d4afdce8d7bdde9cf95c54609257c Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 16:20:14 +0530 Subject: [PATCH 01/11] add --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7df85d0..9cbc50d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ node { def application = "springbootapp" - def dockerhubaccountid = "siraj21" + def dockerhubaccountid = "abhilashthampitkm" stage('Clone repository') { checkout scm } From 38f290a373854dddffaa73d5024a3ad2d8628ee4 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 16:35:52 +0530 Subject: [PATCH 02/11] commited --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9cbc50d..4eb3cb9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 81:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 81:8081 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 5e04acb77b6e633030ee81eccfe674d8a6d1abe0 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 16:38:47 +0530 Subject: [PATCH 03/11] updated --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4eb3cb9..c394461 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 81:8081 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 8090:8090 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 9d3dd6fe3635355bcdca06b81e51089ce6c78833 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 16:46:49 +0530 Subject: [PATCH 04/11] changed --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c394461..6b28bba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 8090:8090 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 80:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 4b4de3b699466c1af0a6bad6695a8bedc2047ecb Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 17:10:39 +0530 Subject: [PATCH 05/11] commited --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6b28bba..bdeb6ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 80:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 80:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 5cded786132925b51678a238b61e3118e5e0248e Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 17:16:49 +0530 Subject: [PATCH 06/11] add 81 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bdeb6ef..1162145 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 80:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 81:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 0b0ed40289d043eade7c5d42f88b8c70d47b5f82 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 17:18:59 +0530 Subject: [PATCH 07/11] 82 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1162145..e932235 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 81:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 82:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From b9531779eb758c69d0bd359a3cd717f32bca42e1 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 3 Jul 2022 17:42:02 +0530 Subject: [PATCH 08/11] done --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e932235..919e7eb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 82:8091 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 80:8081 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 8f13d1e4e7762882ee6fc008ecfb737f77a7133c Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Mon, 4 Jul 2022 09:17:13 +0530 Subject: [PATCH 09/11] changed --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 919e7eb..6b28bba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 80:8081 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 80:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 7d8a00294cc4edc3274e04a70df5721748a79d8b Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Mon, 4 Jul 2022 09:29:36 +0530 Subject: [PATCH 10/11] 8080 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6b28bba..698fc15 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ node { } stage('Deploy') { - sh ("docker run -d -p 80:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") + sh ("docker run -d -p 8080:8080 -v /var/log/:/var/log/ ${dockerhubaccountid}/${application}:${BUILD_NUMBER}") } stage('Remove old images') { From 267435e6001df0973a884949b7926e4450dfca26 Mon Sep 17 00:00:00 2001 From: abhilash0203 Date: Sun, 19 Mar 2023 14:08:25 +0545 Subject: [PATCH 11/11] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6554e1f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello