From 219f175f4e171531faf590c6ae48571b5a128dae Mon Sep 17 00:00:00 2001 From: CodeBabel Date: Fri, 4 Jan 2019 16:18:37 -0600 Subject: [PATCH 1/6] Adding a new feature --- HelloWorld.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 HelloWorld.sh diff --git a/HelloWorld.sh b/HelloWorld.sh new file mode 100644 index 0000000..b227396 --- /dev/null +++ b/HelloWorld.sh @@ -0,0 +1 @@ +echo "Hello World!!!" From 484a594663b6e54dd64ef106f4c127744ffddd36 Mon Sep 17 00:00:00 2001 From: CodeBabel Date: Fri, 4 Jan 2019 16:26:11 -0600 Subject: [PATCH 2/6] Committing Jenkinsfile --- Jenkinsfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..6aee4f7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +node + { + stage('checkout') + { + checkout scm + } + stage('deploy') + { + echo 'branch name ' + env.BRANCH_NAME + + if (env.BRANCH_NAME.startsWith("Feature_")) + { + echo "Deploying to Dev environment after build" + } + + else if (env.BRANCH_NAME.startsWith("Release_")) + { + echo "Deploying to Stage after build and Dev Deployment" + } + + else if (env.BRANCH_NAME.startsWith("master")) + { + echo "Deploying to PROD environment" + } + + sh """chmod +x HelloWorld.sh + ./HelloWorld.sh""" + + } + } From 48259556ac08ab68faeaef1041a00a0b12c07eb5 Mon Sep 17 00:00:00 2001 From: CodeBabel Date: Fri, 4 Jan 2019 16:45:53 -0600 Subject: [PATCH 3/6] Committing Jenkinsfile --- Jenkinsfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..cb263d9 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +node + { + stage('checkout') + { + checkout scm + } + stage('deploy') + { + echo 'branch name ' + env.BRANCH_NAME + + if (env.BRANCH_NAME.startsWith("Feature_")) + { + echo "Deploying to Dev environment after build" + } + + else if (env.BRANCH_NAME.startsWith("Release_")) + { + echo "Deploying to Stage after build and Dev Deployment" + } + + else if (env.BRANCH_NAME.startsWith("master")) + { + echo "Deploying to PROD environment" + } + + sh """chmod +x HelloWorld.sh + ./HelloWorld.sh""" + + } +} From 80e34497c9608b1d8fdff46fbc5c5a510c82119a Mon Sep 17 00:00:00 2001 From: yoyogokiran <79196071+yoyogokiran@users.noreply.github.com> Date: Fri, 19 Feb 2021 18:00:16 +0530 Subject: [PATCH 4/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 016d6a4..786eb62 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # BranchingandMergingDemo Repository to Demo Branching and Merging +test for pull request From aaae1e0c10a0b4de6d10b41b2918260950b4bb41 Mon Sep 17 00:00:00 2001 From: yoyogokiran <79196071+yoyogokiran@users.noreply.github.com> Date: Fri, 19 Feb 2021 18:00:43 +0530 Subject: [PATCH 5/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 786eb62..557e4cd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # BranchingandMergingDemo Repository to Demo Branching and Merging test for pull request +do it again From ba1b83fd0a56ff1763241a5c5d644f8eb224ea32 Mon Sep 17 00:00:00 2001 From: yoyogokiran <79196071+yoyogokiran@users.noreply.github.com> Date: Sun, 21 Feb 2021 00:20:23 +0530 Subject: [PATCH 6/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 786eb62..5bbf662 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # BranchingandMergingDemo Repository to Demo Branching and Merging test for pull request +12345